Spaces:
Runtime error
Runtime error
Aditya9790
commited on
Commit
•
b6c6e3b
1
Parent(s):
d597012
Update app.py
Browse files
app.py
CHANGED
@@ -290,4 +290,4 @@ def detect(img, model):
|
|
290 |
print(f'Done. ({time.time() - t0:.3f}s)')
|
291 |
|
292 |
|
293 |
-
|
|
|
290 |
print(f'Done. ({time.time() - t0:.3f}s)')
|
291 |
|
292 |
|
293 |
+
gr.Interface(detect,[gr.Image(type="pil"),gr.Dropdown(choices=model_names)], gr.Image(type="pil"),title="Yolov7",examples=[["horses.jpeg", "yolov7"]],description="demo for <a href='https://github.com/WongKinYiu/yolov7' style='text-decoration: underline' target='_blank'>WongKinYiu/yolov7</a> Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors").launch()
|