amadinahmed
commited on
Commit
·
0dde7c3
1
Parent(s):
6292f28
ffff
Browse files
app.py
CHANGED
@@ -118,6 +118,7 @@ def predict_image(inp):
|
|
118 |
return material_preds, specific_preds, recyclable_qn, recyclable_advice
|
119 |
|
120 |
|
|
|
121 |
with gr.Blocks(title="Trash Classification", css="#custom_header {min-height: 3rem} #custom_title {min-height: 3rem; text-align: center}") as demo:
|
122 |
|
123 |
with gr.Column():
|
@@ -136,7 +137,7 @@ with gr.Blocks(title="Trash Classification", css="#custom_header {min-height: 3r
|
|
136 |
item_probs = gr.outputs.Label()
|
137 |
with gr.Row():
|
138 |
material_probs = gr.outputs.Label()
|
139 |
-
item_probs = gr.outputs.
|
140 |
|
141 |
gr.Examples(
|
142 |
examples=examples,
|
|
|
118 |
return material_preds, specific_preds, recyclable_qn, recyclable_advice
|
119 |
|
120 |
|
121 |
+
|
122 |
with gr.Blocks(title="Trash Classification", css="#custom_header {min-height: 3rem} #custom_title {min-height: 3rem; text-align: center}") as demo:
|
123 |
|
124 |
with gr.Column():
|
|
|
137 |
item_probs = gr.outputs.Label()
|
138 |
with gr.Row():
|
139 |
material_probs = gr.outputs.Label()
|
140 |
+
item_probs = gr.outputs.Label()
|
141 |
|
142 |
gr.Examples(
|
143 |
examples=examples,
|