amadinahmed
commited on
Commit
·
bb3eb97
1
Parent(s):
05bb6b8
sosss
Browse files
app.py
CHANGED
@@ -129,21 +129,19 @@ with gr.Blocks(title="Trash Classification", css=css, theme=gr.themes.Monochrome
|
|
129 |
|
130 |
with gr.Column():
|
131 |
with gr.Column():
|
132 |
-
gr.Markdown("## Inputs", elem_id="custom_header")
|
133 |
input_image = gr.Image(label="Input Image")
|
134 |
input_image.style(height=240)
|
135 |
btn = gr.Button(value="Submit")
|
136 |
btn.style(full_width=True)
|
137 |
with gr.Column():
|
138 |
-
gr.Markdown("
|
139 |
-
gr.Markdown("### We think this is?")
|
140 |
with gr.Row():
|
141 |
item_probs = gr.outputs.Label(label=" ",num_top_classes=1)
|
142 |
material_probs = gr.outputs.Label(label=" ",num_top_classes=1)
|
143 |
-
gr.Markdown("### Can it Recycle?")
|
144 |
-
recycling_qn = gr.outputs.Label()
|
145 |
-
gr.Markdown("### This Cant be Recycled when: ")
|
146 |
-
recycling_advice = gr.outputs.Label()
|
147 |
|
148 |
|
149 |
|
|
|
129 |
|
130 |
with gr.Column():
|
131 |
with gr.Column():
|
|
|
132 |
input_image = gr.Image(label="Input Image")
|
133 |
input_image.style(height=240)
|
134 |
btn = gr.Button(value="Submit")
|
135 |
btn.style(full_width=True)
|
136 |
with gr.Column():
|
137 |
+
gr.Markdown("### We think this is?",elem_id="custom_header")
|
|
|
138 |
with gr.Row():
|
139 |
item_probs = gr.outputs.Label(label=" ",num_top_classes=1)
|
140 |
material_probs = gr.outputs.Label(label=" ",num_top_classes=1)
|
141 |
+
gr.Markdown("### Can it Recycle?", elem_id="custom_header")
|
142 |
+
recycling_qn = gr.outputs.Label(label=" ",)
|
143 |
+
gr.Markdown("### This Cant be Recycled when: ",elem_id="custom_header")
|
144 |
+
recycling_advice = gr.outputs.Label(label=" ",)
|
145 |
|
146 |
|
147 |
|