-
Notifications
You must be signed in to change notification settings - Fork 36
Closed
Description
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 = <YOUR_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)