Spaces:
Sleeping
Sleeping
Beansbeansbeansbeans
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -125,7 +125,7 @@ with gr.Blocks(title="Trash Classification") as demo:
|
|
125 |
gr.Markdown("Gradio Inference interface for classification of trash and recyclables. To use it, simply upload your image, or click one of the examples to load them. Images uploaded are never saved or indexed. No data is saved. This space is free to use.", elem_id="desc1")
|
126 |
gr.Markdown("Also feel free to go through the examples shown!", elem_id="desc2")
|
127 |
|
128 |
-
inp = gr.Image(
|
129 |
|
130 |
material_probs = gr.Label(label="Material Classification Probabilities", elem_id="material_probs")
|
131 |
specific_probs = gr.Label(label="Specific Classification Probabilities", elem_id="specific_probs")
|
|
|
125 |
gr.Markdown("Gradio Inference interface for classification of trash and recyclables. To use it, simply upload your image, or click one of the examples to load them. Images uploaded are never saved or indexed. No data is saved. This space is free to use.", elem_id="desc1")
|
126 |
gr.Markdown("Also feel free to go through the examples shown!", elem_id="desc2")
|
127 |
|
128 |
+
inp = gr.Image(type="filepath", label="Upload Your Image Here", elem_id="image_input")
|
129 |
|
130 |
material_probs = gr.Label(label="Material Classification Probabilities", elem_id="material_probs")
|
131 |
specific_probs = gr.Label(label="Specific Classification Probabilities", elem_id="specific_probs")
|