a simple gradio demo is not working in google collab despite it running normally on my local machine
the error is ReadTimeout: The read operation timed out
Have you searched existing issues? π
[X] I have searched and found no existing issues
Reproduction
import gradio as gr
def greet(name, intensity):
return "Hello, " + name + "!" * int(intensity)
demo = gr.Interface(
fn=greet,
inputs=["text", "slider"],
outputs=["text"],
)
demo.launch()
Screenshot
No response
Logs
No response
System Info
Gradio Environment Information:
------------------------------
Operating System: Linux
gradio version: 4.28.3
gradio_client version: 0.16.0
------------------------------------------------
gradio dependencies in your environment:
aiofiles: 23.2.1
altair: 4.2.2
fastapi: 0.110.3
ffmpy: 0.3.2
gradio-client==0.16.0 is not installed.
httpx: 0.27.0
huggingface-hub: 0.20.3
importlib-resources: 6.4.0
jinja2: 3.1.3
markupsafe: 2.1.5
matplotlib: 3.7.1
numpy: 1.25.2
orjson: 3.10.1
packaging: 24.0
pandas: 2.0.3
pillow: 9.4.0
pydantic: 2.7.0
pydub: 0.25.1
python-multipart: 0.0.9
pyyaml: 6.0.1
ruff: 0.4.2
semantic-version: 2.10.0
tomlkit==0.12.0 is not installed.
typer: 0.12.3
typing-extensions: 4.11.0
urllib3: 2.0.7
uvicorn: 0.29.0
authlib; extra == 'oauth' is not installed.
itsdangerous; extra == 'oauth' is not installed.
gradio_client dependencies in your environment:
fsspec: 2023.6.0
httpx: 0.27.0
huggingface-hub: 0.20.3
packaging: 24.0
typing-extensions: 4.11.0
websockets: 11.0.3
Describe the bug
a simple gradio demo is not working in google collab despite it running normally on my local machine the error is ReadTimeout: The read operation timed out
Have you searched existing issues? π
Reproduction
Screenshot
No response
Logs
No response
System Info
Severity
Blocking usage of gradio