Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -17,5 +17,5 @@ outputs = gr.outputs.Image(type="pil", label="Output Image")
|
|
17 |
title = "Custom YOLOv5"
|
18 |
description = "Custom YOLOv5 Gradio demo for object detection. Upload an image or click an example image to use."
|
19 |
examples = [['soccer.jpg'], ['bus.jpg']]
|
20 |
-
gr.Interface(yolo, inputs, outputs, title=title, description=description,
|
21 |
debug=True)
|
|
|
17 |
title = "Custom YOLOv5"
|
18 |
description = "Custom YOLOv5 Gradio demo for object detection. Upload an image or click an example image to use."
|
19 |
examples = [['soccer.jpg'], ['bus.jpg']]
|
20 |
+
gr.Interface(yolo, inputs, outputs, title=title, description=description, examples=examples, theme="huggingface").launch(
|
21 |
debug=True)
|