Beansbeansbeansbeans commited on
Commit
d1ea6ed
·
verified ·
1 Parent(s): 5f3b37b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(source="upload", 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")
 
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")