Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -262,7 +262,11 @@ with gr.Blocks(css=CSS, theme="soft", fill_height=True) as demo:
|
|
| 262 |
|
| 263 |
if __name__ == "__main__":
|
| 264 |
|
| 265 |
-
|
| 266 |
-
app = gr.mount_gradio_app(app, block, "/", gradio_api_url="http://localhost:7860/")
|
| 267 |
uvicorn.run(app, host="0.0.0.0", port=7860)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 268 |
#demo.queue(api_open=False).launch(show_api=False, share=False, )#server_name="0.0.0.0", )
|
|
|
|
| 262 |
|
| 263 |
if __name__ == "__main__":
|
| 264 |
|
| 265 |
+
app = gr.mount_gradio_app(app, demo, "/")
|
|
|
|
| 266 |
uvicorn.run(app, host="0.0.0.0", port=7860)
|
| 267 |
+
|
| 268 |
+
#app.mount("/static", StaticFiles(directory="static", html=True), name="static")
|
| 269 |
+
# app = gr.mount_gradio_app(app, block, "/", gradio_api_url="http://localhost:7860/")
|
| 270 |
+
# uvicorn.run(app, host="0.0.0.0", port=7860)
|
| 271 |
+
|
| 272 |
#demo.queue(api_open=False).launch(show_api=False, share=False, )#server_name="0.0.0.0", )
|