ahmadalfian commited on
Commit
edb9613
·
verified ·
1 Parent(s): ff57cfd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -92,10 +92,11 @@ def classify_and_get_nutrition(image):
92
  # Antarmuka Gradio
93
  iface = gr.Interface(
94
  fn=classify_and_get_nutrition,
95
- inputs=gr.inputs.Image(type="pil"),
96
- outputs=gr.outputs.JSON(),
97
  title="Fruits and Vegetables Classifier",
98
  description="Upload an image of a fruit or vegetable to classify and get its nutritional information."
99
  )
100
 
 
101
  iface.launch()
 
92
  # Antarmuka Gradio
93
  iface = gr.Interface(
94
  fn=classify_and_get_nutrition,
95
+ inputs=gr.Image(type="pil"),
96
+ outputs=gr.JSON(),
97
  title="Fruits and Vegetables Classifier",
98
  description="Upload an image of a fruit or vegetable to classify and get its nutritional information."
99
  )
100
 
101
+
102
  iface.launch()