Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
661bc9b
1
Parent(s):
64d3c87
theme update
Browse files
app.py
CHANGED
@@ -24,11 +24,8 @@ outputs = gr.outputs.Image(type="pil", label="Output Image")
|
|
24 |
|
25 |
title = "YOLOv5"
|
26 |
description = "YOLOv5 Gradio demo for object detection. Upload an image or click an example image to use."
|
27 |
-
article = "<p style='text-align: center'>YOLOv5 is a family of compound-scaled object detection models trained on the COCO dataset, and includes "
|
28 |
-
"simple functionality for Test Time Augmentation (TTA), model ensembling, hyperparameter evolution, " \
|
29 |
-
"and export to ONNX, CoreML and TFLite. <a href='https://github.com/ultralytics/yolov5'>Source code</a> |" \
|
30 |
-
"<a href='https://apps.apple.com/app/id1452689527'>iOS App</a> | <a href='https://pytorch.org/hub/ultralytics_yolov5'>PyTorch Hub</a></p>"
|
31 |
|
32 |
examples = [['zidane.jpg'], ['bus.jpg']]
|
33 |
-
gr.Interface(yolo, inputs, outputs, title=title, description=description, article=article, examples=examples,
|
34 |
debug=True)
|
|
|
24 |
|
25 |
title = "YOLOv5"
|
26 |
description = "YOLOv5 Gradio demo for object detection. Upload an image or click an example image to use."
|
27 |
+
article = "<p style='text-align: center'>YOLOv5 is a family of compound-scaled object detection models trained on the COCO dataset, and includes " \\n "simple functionality for Test Time Augmentation (TTA), model ensembling, hyperparameter evolution, " \\n "and export to ONNX, CoreML and TFLite. <a href='https://github.com/ultralytics/yolov5'>Source code</a> |" \\n "<a href='https://apps.apple.com/app/id1452689527'>iOS App</a> | <a href='https://pytorch.org/hub/ultralytics_yolov5'>PyTorch Hub</a></p>"
|
|
|
|
|
|
|
28 |
|
29 |
examples = [['zidane.jpg'], ['bus.jpg']]
|
30 |
+
gr.Interface(yolo, inputs, outputs, title=title, description=description, article=article, examples=examples, theme="default").launch(
|
31 |
debug=True)
|