Open walter-grace opened 1 day ago
ImportError: cannot import name 'HumeVoiceClient' from partially initialized module 'hume' (most likely due to a circular import)
from hume import HumeVoiceClient, MicrophoneInterface
HUME_API_KEY =
client = HumeVoiceClient(HUME_API_KEY)
async with client.connect(config_id="") as socket: await MicrophoneInterface.start(socket)
HUME-8629 cannot import name 'HumeVoiceClient
ImportError: cannot import name 'HumeVoiceClient' from partially initialized module 'hume' (most likely due to a circular import)
from hume import HumeVoiceClient, MicrophoneInterface
avoid hard coding your API key, retrieve from environment variables
HUME_API_KEY =
Connect and authenticate with Hume
client = HumeVoiceClient(HUME_API_KEY)
establish a connection with EVI with your configuration by passing
the config_id as an argument to the connect method
async with client.connect(config_id="") as socket:
await MicrophoneInterface.start(socket)