amitca75 commited on
Commit
b4f8087
·
verified ·
1 Parent(s): 6d4338e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ article = "How to Use: Upload a food image in the upload section above or select
48
  example_list = [["examples/" + example] for example in os.listdir("examples")]
49
 
50
  food101_app = gr.Interface(fn=predict,
51
- inputs=gr.Image(type="pil", height=500, width=600),
52
  outputs=[gr.Label(num_top_classes=5, label="Predictions"),
53
  gr.Number(label="Prediction Time (s)")],
54
  examples=example_list,
 
48
  example_list = [["examples/" + example] for example in os.listdir("examples")]
49
 
50
  food101_app = gr.Interface(fn=predict,
51
+ inputs=gr.Image(type="pil"),
52
  outputs=[gr.Label(num_top_classes=5, label="Predictions"),
53
  gr.Number(label="Prediction Time (s)")],
54
  examples=example_list,