amadinahmed
commited on
Commit
·
a63ed64
1
Parent(s):
c7a1e36
adadada
Browse files
app.py
CHANGED
@@ -136,13 +136,15 @@ with gr.Blocks(title="Trash Classification", css=css) as demo:
|
|
136 |
with gr.Column():
|
137 |
gr.Markdown("## Outputs", elem_id="custom_header")
|
138 |
gr.Markdown("### We think this is?")
|
139 |
-
recycling_qn = gr.outputs.Label()
|
140 |
-
gr.Markdown("### Can it Recycle?")
|
141 |
-
recycling_advice = gr.outputs.Label()
|
142 |
-
gr.Markdown("### How to recycle?")
|
143 |
with gr.Row():
|
144 |
-
material_probs = gr.outputs.Label(label="Material Prediction")
|
145 |
item_probs = gr.outputs.Label(label="Item Prediction")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
|
147 |
|
148 |
btn.click(predict_image, inputs=[input_image],
|
|
|
136 |
with gr.Column():
|
137 |
gr.Markdown("## Outputs", elem_id="custom_header")
|
138 |
gr.Markdown("### We think this is?")
|
|
|
|
|
|
|
|
|
139 |
with gr.Row():
|
|
|
140 |
item_probs = gr.outputs.Label(label="Item Prediction")
|
141 |
+
material_probs = gr.outputs.Label(label="Material Prediction")
|
142 |
+
gr.Markdown("### Can it Recycle?")
|
143 |
+
recycling_qn = gr.outputs.Label()
|
144 |
+
gr.Markdown("### How to recycle?")
|
145 |
+
recycling_advice = gr.outputs.Label()
|
146 |
+
|
147 |
+
|
148 |
|
149 |
|
150 |
btn.click(predict_image, inputs=[input_image],
|