Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,7 +79,7 @@ with gr.Blocks() as demo:
|
|
| 79 |
image_btn.click(fn=predict_image, inputs=[image_input, image_mode], outputs=[image_output1, image_output2, image_output3])
|
| 80 |
|
| 81 |
# β
εη¨ Gradio + FastAPI ζ΄ε
|
| 82 |
-
app = gr.mount_gradio_app(api, demo)
|
| 83 |
|
| 84 |
if __name__ == "__main__":
|
| 85 |
uvicorn.run(app, host="0.0.0.0", port=7860)
|
|
|
|
| 79 |
image_btn.click(fn=predict_image, inputs=[image_input, image_mode], outputs=[image_output1, image_output2, image_output3])
|
| 80 |
|
| 81 |
# β
εη¨ Gradio + FastAPI ζ΄ε
|
| 82 |
+
app = gr.mount_gradio_app(api, demo, path="/")
|
| 83 |
|
| 84 |
if __name__ == "__main__":
|
| 85 |
uvicorn.run(app, host="0.0.0.0", port=7860)
|