cxeep commited on
Commit
7389e6d
·
verified ·
1 Parent(s): b9b957c

Update gradio.app.py

Browse files
Files changed (1) hide show
  1. gradio.app.py +1 -1
gradio.app.py CHANGED
@@ -7,4 +7,4 @@ def run_yolov5s(image_filepath):
7
  return "yolov5s-tt100k.out.jpg", result.stdout
8
 
9
  iface = gr.Interface(fn=run_yolov5s, inputs=gr.Image(type="filepath"), outputs=[gr.Image(type="filepath"), gr.Textbox()])
10
- iface.launch()
 
7
  return "yolov5s-tt100k.out.jpg", result.stdout
8
 
9
  iface = gr.Interface(fn=run_yolov5s, inputs=gr.Image(type="filepath"), outputs=[gr.Image(type="filepath"), gr.Textbox()])
10
+ iface.launch(server_name="0.0.0.0", server_port=7860)