Spaces:
Build error
Build error
onipot
commited on
Commit
•
97c387b
1
Parent(s):
c12cb7e
fix examples
Browse files
app.py
CHANGED
@@ -106,7 +106,7 @@ def main():
|
|
106 |
</ul>
|
107 |
"""
|
108 |
|
109 |
-
examples = [['images/1.jpg'],
|
110 |
|
111 |
gr.Interface(run_yolo, [input, augment_preds], outputs, title=title, description=description, article=article, examples=examples, theme="huggingface").launch(enable_queue=True, ) # share=True
|
112 |
|
|
|
106 |
</ul>
|
107 |
"""
|
108 |
|
109 |
+
examples = [[Image.open('images/1.jpg').convert("RGB"), False],[Image.open('images/2.jpg').convert("RGB"), False],[Image.open('images/3.jpg').convert("RGB"), False],[Image.open('images/4.jpg').convert("RGB"), False],[Image.open('images/5.jpg').convert("RGB"), False]]
|
110 |
|
111 |
gr.Interface(run_yolo, [input, augment_preds], outputs, title=title, description=description, article=article, examples=examples, theme="huggingface").launch(enable_queue=True, ) # share=True
|
112 |
|