Spaces:
Runtime error
Runtime error
Commit
•
6a39a28
1
Parent(s):
040c712
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)
|