thanhson28 commited on
Commit
2e25c68
1 Parent(s): b32fb8d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -150,7 +150,7 @@ if __name__ == "__main__":
150
  person_detector_gr = gr.Interface(
151
  fn=detect_objects,
152
  inputs=[
153
- gr.Image(type="str", label="Drop Image",
154
  width=800, height=480),
155
  gr.Slider(label="Detection Threshold",
156
  minimum=0, maximum=1, step=0.01, value=0.3),
 
150
  person_detector_gr = gr.Interface(
151
  fn=detect_objects,
152
  inputs=[
153
+ gr.Image(type="filepath", label="Drop Image",
154
  width=800, height=480),
155
  gr.Slider(label="Detection Threshold",
156
  minimum=0, maximum=1, step=0.01, value=0.3),