Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,8 +18,7 @@ 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 |
-
|
| 24 |
-
|
| 25 |
|
|
|
|
| 18 |
outputs = gr.outputs.Image(type="pil", label="Output Image")
|
| 19 |
|
| 20 |
title = "Object detection from Infrared image using YOLOv5n"
|
|
|
|
| 21 |
|
| 22 |
+
|
| 23 |
+
gr.Interface(im, inputs, outputs, title=title, theme="huggingface").launch(debug=True)
|
| 24 |
|