Spaces:
Runtime error
Runtime error
Update gradio.app.py
Browse files- 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)
|