Spaces:
Sleeping
Sleeping
AlshimaaGamalAlsaied
commited on
Commit
•
3e5094d
1
Parent(s):
79b5936
update
Browse files
app.py
CHANGED
@@ -53,12 +53,13 @@ inputs = [
|
|
53 |
outputs = gr.outputs.Image(type="filepath", label="Output Image")
|
54 |
title = "Yolov7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors"
|
55 |
|
56 |
-
|
57 |
demo_app = gr.Interface(
|
58 |
fn=yolov7_inference,
|
59 |
inputs=inputs,
|
60 |
outputs=outputs,
|
61 |
title=title,
|
|
|
62 |
cache_examples=True,
|
63 |
theme='huggingface',
|
64 |
)
|
|
|
53 |
outputs = gr.outputs.Image(type="filepath", label="Output Image")
|
54 |
title = "Yolov7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors"
|
55 |
|
56 |
+
examples = [['image.jpg.jpeg', 'kadirnar/yolov7-tiny-v0.1', 640, 0.25, 0.45], ['image.jpg.jpg', 'kadirnar/yolov7-v0.1', 640, 0.25, 0.45]]
|
57 |
demo_app = gr.Interface(
|
58 |
fn=yolov7_inference,
|
59 |
inputs=inputs,
|
60 |
outputs=outputs,
|
61 |
title=title,
|
62 |
+
examples=examples,
|
63 |
cache_examples=True,
|
64 |
theme='huggingface',
|
65 |
)
|
image.jpg
ADDED