Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,9 +17,8 @@ def yolo(im, size=640):
|
|
17 |
inputs = gr.inputs.Image(type='pil', label="Original Image")
|
18 |
outputs = gr.outputs.Image(type="pil", label="Output Image")
|
19 |
|
20 |
-
title = "
|
21 |
description = "YOLOv5 Gradio demo for object detection. Upload an image or click an example image to use."
|
22 |
-
article = "<p style='text-align: center'>YOLOv5 is a family of compound-scaled object detection models trained on the COCO dataset, and includes simple functionality for Test Time Augmentation (TTA), model ensembling, hyperparameter evolution, and export to ONNX, CoreML and TFLite. <a href='https://github.com/ultralytics/yolov5'>Source code</a> |<a href='https://apps.apple.com/app/id1452689527'>iOS App</a> | <a href='https://pytorch.org/hub/ultralytics_yolov5'>PyTorch Hub</a></p>"
|
23 |
|
24 |
gr.Interface(yolo, inputs, outputs, title=title, description=description, article=article, theme="huggingface").launch(
|
25 |
debug=True)
|
|
|
17 |
inputs = gr.inputs.Image(type='pil', label="Original Image")
|
18 |
outputs = gr.outputs.Image(type="pil", label="Output Image")
|
19 |
|
20 |
+
title = "Object detection from Infrared image using YOLOv5n"
|
21 |
description = "YOLOv5 Gradio demo for object detection. Upload an image or click an example image to use."
|
|
|
22 |
|
23 |
gr.Interface(yolo, inputs, outputs, title=title, description=description, article=article, theme="huggingface").launch(
|
24 |
debug=True)
|