Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,7 +55,7 @@ def volume_estimations(ali):
|
|
| 55 |
with gr.Blocks() as demo:
|
| 56 |
gr.Markdown("Food-Classification-Calorie-Estimation and Volume-Estimation")
|
| 57 |
with gr.Tab("Food Classification"):
|
| 58 |
-
text_input = gr.Image(type="filepath",interactive=True,
|
| 59 |
text_output = [gr.Label(num_top_classes=6),
|
| 60 |
gr.Textbox()
|
| 61 |
]
|
|
|
|
| 55 |
with gr.Blocks() as demo:
|
| 56 |
gr.Markdown("Food-Classification-Calorie-Estimation and Volume-Estimation")
|
| 57 |
with gr.Tab("Food Classification"):
|
| 58 |
+
text_input = gr.Image(type="filepath",interactive=True,label="Upload the food Image and Zoom in to the item you want to get the calorie for")
|
| 59 |
text_output = [gr.Label(num_top_classes=6),
|
| 60 |
gr.Textbox()
|
| 61 |
]
|