Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -73,9 +73,9 @@ def classify(image_path):
|
|
73 |
|
74 |
iface = gr.Interface(
|
75 |
fn=classify,
|
76 |
-
inputs=
|
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()
|