-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error while not talking #9
Comments
same problem here |
finally fixed the problem although, this version of code is not the real time streaming from LiminaliaBot import deepgramSpeak load_dotenv() class TranscriptCollector:
transcript_collector = TranscriptCollector() def get_transcript():
def deepgramSpeak(text):
def process_llm(transcript): if name == "main": |
Hi, I'm encountering an error when I run the code. If I don't start talking immediately after running the code, I get an error. Additionally, when I run the code and begin speaking, if I stay quiet for a short period, I encounter the same error.
RuntimeError: Task <Task pending name='Task-30' coro=<AsyncLiveClient.send() running at C:\Python\Python310\lib\site-packages\deepgram\clients\live\v1\async_client.py:179> cb=[_run_until_complete_cb() at C:\Python\Python310\lib\asyncio\base_events.py:184]> got Future attached to a different loop
is it because of this line 'dg_connection = deepgram.listen.asynclive.v("1")'
any help pls!!!
The text was updated successfully, but these errors were encountered: