Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -104,6 +104,6 @@ with gr.Blocks().queue() as demo:
|
|
| 104 |
cache_examples=True,
|
| 105 |
)
|
| 106 |
demo.launch()
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
|
|
|
| 104 |
cache_examples=True,
|
| 105 |
)
|
| 106 |
demo.launch()
|
| 107 |
+
app.mount("/static", StaticFiles(directory="static", html=True), name="static")
|
| 108 |
+
app = gr.mount_gradio_app(app, demo, "/")
|
| 109 |
+
uvicorn.run(app, host="0.0.0.0", port=7860)
|