sagemaker commited on
Commit
bc954b8
·
1 Parent(s): 3daac15

change gradio version to 3.0

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +2 -1
app.py CHANGED
@@ -64,7 +64,7 @@ Iface = gr.Interface(
64
  fn=infer,
65
  inputs=[image_in,model_choice],
66
  outputs=image_out,
67
- #examples=[["examples/10_People_Marching_People_Marching_2_120.jpg"], ["examples/12_Group_Group_12_Group_Group_12_26.jpg"], ["examples/43_Row_Boat_Canoe_43_247.jpg"]],
68
  title="Object Detection with YOLOS",
69
  description=description,
70
  ).launch()
 
64
  fn=infer,
65
  inputs=[image_in,model_choice],
66
  outputs=image_out,
67
+ examples=[["examples/10_People_Marching_People_Marching_2_120.jpg"], ["examples/12_Group_Group_12_Group_Group_12_26.jpg"], ["examples/43_Row_Boat_Canoe_43_247.jpg"]],
68
  title="Object Detection with YOLOS",
69
  description=description,
70
  ).launch()
requirements.txt CHANGED
@@ -1,4 +1,5 @@
1
  transformers
2
  pillow
3
  torch
4
- matplotlib
 
 
1
  transformers
2
  pillow
3
  torch
4
+ matplotlib
5
+ gradio==3.0