Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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"
|
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,
|