amadinahmed commited on
Commit ·
fb3eaa4
1
Parent(s): b213879
dada
Browse files121 unmodified lines122123124125126127128129130131132133134135136137138139140121 unmodified lineswith gr.Column():with gr.Column():with gr.Box():gr.Markdown("## Inputs", elem_id="custom_header")input_image = gr.Image(label="Input Image")input_image.style(height=240)btn = gr.Button(value="Submit")btn.style(full_width=True)with gr.Column():gr.Markdown("## Outputs", elem_id="custom_header")recycling_qn = gr.outputs.Label(label="Is this recyclable?")recycling_advice = gr.outputs.Label(label="It is not recyclable when:")with gr.Row():material_probs = gr.outputs.Label(label="Material Prediction")item_probs = gr.outputs.Label(label="Item Prediction")gr.Examples(examples=examples,121 unmodified lines122123124125126127128129130131132133134135136137138139140141142121 unmodified lineswith gr.Column():with gr.Column():gr.Markdown("## Inputs", elem_id="custom_header")input_image = gr.Image(label="Input Image")input_image.style(height=240)btn = gr.Button(value="Submit")btn.style(full_width=True)with gr.Column(variant="panel", scale=2):gr.Markdown("## Outputs", elem_id="custom_header")gr.Markdown("### Can it Recycle?")recycling_qn = gr.outputs.Markdown(label ="### Can it Recycle?")gr.Markdown("### How to recycle?")recycling_advice = gr.outputs.Label()item_probs = gr.outputs.Markdown()with gr.Row():material_probs = gr.outputs.Label(label="Material Prediction")item_probs = gr.outputs.Markdown()gr.Examples(examples=examples,
app.py+7-5