Open dwipper opened 1 month ago
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:
ocolegrove@Owens-MacBook-Pro-2 py % poetry run python --version
Python 3.10.13
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.....:-(
Hey @dwipper just a heads up that we'll be merging a refactored version of the Python SDK, which includes an asynchronous client and a synchronous, thread safe client. Would love for you to test it out! It should be merged shortly! #1430
Hey @dwipper just a heads up that we'll be merging a refactored version of the Python SDK, which includes an asynchronous client and a synchronous, thread safe client. Would love for you to test it out! It should be merged shortly! #1430
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: No module named 'litellm'
, likely due to core dependencies not being installed.' The version is 3.2.16. This error message seems to be just a warning, since the code will still run.....
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