We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Monitoring API endpoints returns 404 whether enable_monitoring is None or True.
enable_monitoring
None
True
Both http://127.0.0.1:7860/monitoring/ and http://127.0.0.1:7860/monitoring/KLQKZLCAxSABsioTJ2LMtQ return 404 and
http://127.0.0.1:7860/monitoring/
http://127.0.0.1:7860/monitoring/KLQKZLCAxSABsioTJ2LMtQ
json { "detail": "Not Found" }
import gradio as gr import time def slow_function(x): time.sleep(2) # Simulate a long-running process return x * 2 with gr.Blocks() as demo: inp = gr.Number(label="Input") out = gr.Number(label="Output") btn = gr.Button("Run") btn.click(fn=slow_function, inputs=inp, outputs=out) demo.launch(enable_monitoring=True)
No response
Gradio Environment Information: ------------------------------ Operating System: Both Windows and Linux gradio version: Both 5.10.0 and 5.12.0 gradio_client version: 1.5.4 ------------------------------------------------ gradio dependencies in your environment: aiofiles: 23.2.1 anyio: 4.7.0 audioop-lts is not installed. fastapi: 0.115.6 ffmpy: 0.4.0 gradio-client==1.5.4 is not installed. httpx: 0.28.1 huggingface-hub: 0.26.5 jinja2: 3.1.4 markupsafe: 2.1.5 numpy: 1.23.5 orjson: 3.10.12 packaging: 24.2 pandas: 2.2.3 pillow: 10.4.0 pydantic: 2.10.3 pydub: 0.25.1 python-multipart: 0.0.19 pyyaml: 6.0.2 ruff: 0.8.2 safehttpx: 0.1.6 semantic-version: 2.10.0 starlette: 0.41.3 tomlkit: 0.12.0 typer: 0.15.1 typing-extensions: 4.12.2 urllib3: 2.2.3 uvicorn: 0.32.1 authlib; extra == 'oauth' is not installed. itsdangerous; extra == 'oauth' is not installed. gradio_client dependencies in your environment: fsspec: 2024.10.0 httpx: 0.28.1 huggingface-hub: 0.26.5 packaging: 24.2 typing-extensions: 4.12.2 websockets: 12.0
I can work around it
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Monitoring API endpoints returns 404 whether
enable_monitoring
isNone
orTrue
.Both
http://127.0.0.1:7860/monitoring/
andhttp://127.0.0.1:7860/monitoring/KLQKZLCAxSABsioTJ2LMtQ
return 404 andjson { "detail": "Not Found" }
Have you searched existing issues? 🔎
Reproduction
Screenshot
Logs
No response
System Info
Severity
I can work around it
The text was updated successfully, but these errors were encountered: