fcernafukuzaki
commited on
Commit
•
b3343ab
1
Parent(s):
216b825
Update app.py
Browse files
app.py
CHANGED
@@ -132,9 +132,9 @@ iface = gr.Interface(yolo,
|
|
132 |
#flagging_callback=hf_writer
|
133 |
)
|
134 |
|
135 |
-
iface.queue()
|
136 |
-
|
137 |
-
iface.launch(server_name="0.0.0.0", server_port=7860, debug=True)
|
138 |
"""For YOLOv5 PyTorch Hub inference with **PIL**, **OpenCV**, **Numpy** or **PyTorch** inputs please see the full [YOLOv5 PyTorch Hub Tutorial](https://github.com/ultralytics/yolov5/issues/36).
|
139 |
## Citation
|
140 |
[![DOI](https://zenodo.org/badge/264818686.svg)](https://zenodo.org/badge/latestdoi/264818686)
|
|
|
132 |
#flagging_callback=hf_writer
|
133 |
)
|
134 |
|
135 |
+
#iface.queue()
|
136 |
+
iface.launch(server_name="0.0.0.0", server_port=7860, enable_queue=True, debug=True)
|
137 |
+
#iface.launch(server_name="0.0.0.0", server_port=7860, debug=True)
|
138 |
"""For YOLOv5 PyTorch Hub inference with **PIL**, **OpenCV**, **Numpy** or **PyTorch** inputs please see the full [YOLOv5 PyTorch Hub Tutorial](https://github.com/ultralytics/yolov5/issues/36).
|
139 |
## Citation
|
140 |
[![DOI](https://zenodo.org/badge/264818686.svg)](https://zenodo.org/badge/latestdoi/264818686)
|