tommy24 commited on
Commit
c616b46
·
1 Parent(s): 33c372e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -73,9 +73,9 @@ def classify(image_path):
73
 
74
  iface = gr.Interface(
75
  fn=classify,
76
- inputs="text",
77
  outputs="text",
78
  title="Waste Classifier",
79
  description="Upload an image to classify and get disposal instructions."
80
  )
81
- iface.launch()
 
73
 
74
  iface = gr.Interface(
75
  fn=classify,
76
+ inputs=gr.inputs.Image(),
77
  outputs="text",
78
  title="Waste Classifier",
79
  description="Upload an image to classify and get disposal instructions."
80
  )
81
+ iface.launch()