Colab Enterprise unable to run FastAPI uvicorn (RuntimeWarning: coroutine 'Server.serve' was never awaited) #2342
Replies: 2 comments
-
This works fine in Colab Enterprise, but still want to understand the root cause and potential solution.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
We are preloading an ipython extension (Via |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using Colab Enterprise and run the following code:
Running this code via a Notebook
Note: I added some debugs to understand
setup_event_loop
logic.Colab Enterprise requirements.txt
Free Colab requirements.txt
Diff https://www.diffchecker.com/1AMpoTuM/
This works fine via free Colab.
Troubleshooting done:
nest-asyncio
Why uninstalling
nest-asyncio
is not an option? The same library is installed in free Colab.Original issue: gradio-app/gradio#8238 (comment)
What other information I can use to debug this issue?
Beta Was this translation helpful? Give feedback.
All reactions