onipot commited on
Commit
a254402
1 Parent(s): 97c387b

fix examples

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -106,7 +106,7 @@ def main():
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
 
 
106
  </ul>
107
  """
108
 
109
+ examples = [['images/1.jpg', False],['images/2.jpg', False],['images/3.jpg', False],['images/4.jpg', False],['images/5.jpg', 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