Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -103,7 +103,7 @@ with gr.Blocks().queue() as demo:
|
|
| 103 |
fn=generate,
|
| 104 |
cache_examples=True,
|
| 105 |
)
|
| 106 |
-
|
| 107 |
-
app.mount("/static", StaticFiles(directory="static", html=True), name="static")
|
| 108 |
-
app = gr.mount_gradio_app(app, demo, "/", gradio_api_url="http://localhost:7860/")
|
| 109 |
-
uvicorn.run(app, host="0.0.0.0", port=7860)
|
|
|
|
| 103 |
fn=generate,
|
| 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, "/", gradio_api_url="http://localhost:7860/")
|
| 109 |
+
#uvicorn.run(app, host="0.0.0.0", port=7860)
|