Alovestocode commited on
Commit
74309f5
·
verified ·
1 Parent(s): 62eb658

Serve Gradio UI at /gradio path

Browse files
Files changed (2) hide show
  1. __pycache__/app.cpython-313.pyc +0 -0
  2. app.py +2 -2
__pycache__/app.cpython-313.pyc CHANGED
Binary files a/__pycache__/app.cpython-313.pyc and b/__pycache__/app.cpython-313.pyc differ
 
app.py CHANGED
@@ -194,8 +194,8 @@ with gr.Blocks(title="Router Model ZeroGPU Backend") as demo:
194
 
195
 
196
  demo.queue()
197
- app = gr.mount_gradio_app(fastapi_app, demo, path="/")
198
-
199
 
200
  if __name__ == "__main__": # pragma: no cover
201
  # Hugging Face Spaces will serve the exported `app` automatically.
 
194
 
195
 
196
  demo.queue()
197
+ app = gr.mount_gradio_app(fastapi_app, demo, path="/gradio")
198
+
199
 
200
  if __name__ == "__main__": # pragma: no cover
201
  # Hugging Face Spaces will serve the exported `app` automatically.