-
Notifications
You must be signed in to change notification settings - Fork 301
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
"There is no current event loop in thread" error #1341
Comments
Thanks for sharing - this sounds like a bad interaction with some of our async logic. I will attempt to replicate and fix on my end. |
What version of python are you running with? I was able to execute the code above successfully - poetry run python gradio_tester.py
Python-dotenv could not parse statement starting at line 14
Python-dotenv could not parse statement starting at line 14
Running on local URL: http://127.0.0.1:7860
To create a public link, set `share=True` in `launch()`. My python version:
I am also running on iOS, 14.5 (23F79) w/ M1 proc. |
I'm on:
|
@emrgnt-cmplxty Any more thoughts on this? This is a total blocker for our app to use R2R.....:-( |
That would be great. Hopefully it plays well with Gradio, although it appears that the above is an issue with my specific setup, but not sure what or how to track it down.... |
@NolanTrem I just reinstalled my Python environment. I'm not having the above issue anymore, but when I try to run the above Gradio app, I get a 'ImportError: |
Describe the bug
I am working on integrating r2r into my existing Python/Gradio-based app. When I import the R2RClient, I receive the following errors:
To Reproduce
Run the following code. You will need to install Gradio (pip install gradio==4.44.1)
Expected behavior
The Gradio app should run. If you comment out "from r2r import R2RClient" it will run.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
NA
Additional context
NA
The text was updated successfully, but these errors were encountered: