heisenberg3376 commited on
Commit
b1f0a1c
·
verified ·
1 Parent(s): ea91bd4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,8 +20,8 @@ def classify_image(input_image):
20
  # Create a Gradio interface
21
  iface = gr.Interface(
22
  fn=classify_image,
23
- inputs=gr.inputs.Image(type="pil", label="Upload an image"),
24
- outputs="text",
25
  title="Image Classification",
26
  description="Classify food items in images using heisenberg3376/vit-base-food-items-v1"
27
  )
 
20
  # Create a Gradio interface
21
  iface = gr.Interface(
22
  fn=classify_image,
23
+ input=gr.inputs.Image(type="pil", label="Upload an image"),
24
+ output="text",
25
  title="Image Classification",
26
  description="Classify food items in images using heisenberg3376/vit-base-food-items-v1"
27
  )