Bennie12 commited on
Commit
fd3565c
Β·
verified Β·
1 Parent(s): 202de42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)