Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -15,6 +15,6 @@ with block:
|
|
15 |
btn = gr.Button("Generate")
|
16 |
btn.click(lambda x:x, inputs=[prompt], outputs=[output])
|
17 |
|
18 |
-
app.mount("/static", StaticFiles(directory="static", html=True))
|
19 |
app = gr.mount_gradio_app(app, block, "/", gradio_api_url="http://localhost:7860/")
|
20 |
uvicorn.run(app, host="0.0.0.0", port=7860)
|
|
|
15 |
btn = gr.Button("Generate")
|
16 |
btn.click(lambda x:x, inputs=[prompt], outputs=[output])
|
17 |
|
18 |
+
app.mount("/static", StaticFiles(directory="static", html=True), name="static")
|
19 |
app = gr.mount_gradio_app(app, block, "/", gradio_api_url="http://localhost:7860/")
|
20 |
uvicorn.run(app, host="0.0.0.0", port=7860)
|