sshi commited on
Commit
21837c4
·
1 Parent(s): 557e30b

App bug fix.

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
- output = ['plot'],
150
  examples=[["./imgs/example1.jpg"], ["./imgs/example2.jpg"]],
151
  title="YOLOS for traffic object detection",
152
  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. ")
 
146
  fn=detect,
147
  inputs=[gr.Image(type="pil")],
148
  # outputs=gr.Image(type="pil"),
149
+ outputs = ['plot'],
150
  examples=[["./imgs/example1.jpg"], ["./imgs/example2.jpg"]],
151
  title="YOLOS for traffic object detection",
152
  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. ")