-
Notifications
You must be signed in to change notification settings - Fork 82
Description
For security line 214 should default to False
demo.launch(share=False)
but, if set to False app.py fails with
Exception: Couldn't start the app because 'http://127.0.0.1:7860/gradio_api/startup-events' failed (code 500). Check your network or proxy settings to ensure localhost is accessible.
Both
show_share_button=True,
need to be remarked for app.py to start
Line 117 should be
cache_examples=True,
But even with those edits, I get as far as opening the GUI.
I click one of the examples, it shows "Unable to play video" top right, then I get the same command line exception
Exception: Couldn't start the app because 'http://127.0.0.1:7860/gradio_api/startup-events' failed (code 500). Check your network or proxy settings to ensure localhost is accessible.
This is on Windows if it matters.
Can you also provide a requirements.txt so we do not have to use uv?