sshi commited on
Commit
a5fd58a
·
1 Parent(s): f8de000

App add examples.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -146,7 +146,7 @@ interface = gr.Interface(
146
  fn=detect,
147
  inputs=[gr.Image(type="pil")],
148
  outputs=gr.Image(type="pil"),
149
- # examples=[["example1.jpeg"], ["example2.jpeg"], ["example3.jpeg"]],
150
  title="YOLOS for traffic object detection",
151
  description="A downstream application for <a href='https://huggingface.co/docs/transformers/model_doc/yolos' style='text-decoration: underline' target='_blank'>YOLOS</a> application on traffic object detection. ")
152
 
 
146
  fn=detect,
147
  inputs=[gr.Image(type="pil")],
148
  outputs=gr.Image(type="pil"),
149
+ examples=[["./imgs/example1.jpeg"], ["./imgs/example2.jpeg"]],
150
  title="YOLOS for traffic object detection",
151
  description="A downstream application for <a href='https://huggingface.co/docs/transformers/model_doc/yolos' style='text-decoration: underline' target='_blank'>YOLOS</a> application on traffic object detection. ")
152