Update app.py
Browse files
app.py
CHANGED
@@ -400,15 +400,15 @@ with gr.Blocks(css=css, theme=gr.themes.Soft()) as demo:
|
|
400 |
with gr.Column(scale=0.5, min_width=500):
|
401 |
image_input = gr.Image(type="pil", interactive=True, label="Upload an image π", height=250)
|
402 |
with gr.Column(scale=0.5, min_width=500):
|
403 |
-
task_button = gr.Radio(label="
|
404 |
-
choices=['Detect'],
|
405 |
value='Detect')
|
406 |
with gr.Row():
|
407 |
submit_button = gr.Button(value="π Run", interactive=True, variant="primary")
|
408 |
clear_button = gr.Button(value="π Clear", interactive=True)
|
409 |
|
410 |
with gr.Row():
|
411 |
-
with gr.Column(scale=0.5, min_width=
|
412 |
image_output = gr.Image(type='pil', interactive=False, label="Detection output")
|
413 |
with gr.Column(scale=0.5, min_width=500):
|
414 |
chat_output = gr.Textbox(label="Text output")
|
|
|
400 |
with gr.Column(scale=0.5, min_width=500):
|
401 |
image_input = gr.Image(type="pil", interactive=True, label="Upload an image π", height=250)
|
402 |
with gr.Column(scale=0.5, min_width=500):
|
403 |
+
task_button = gr.Radio(label="Task", interactive=True,
|
404 |
+
choices=['Detect with Morphlogy'],
|
405 |
value='Detect')
|
406 |
with gr.Row():
|
407 |
submit_button = gr.Button(value="π Run", interactive=True, variant="primary")
|
408 |
clear_button = gr.Button(value="π Clear", interactive=True)
|
409 |
|
410 |
with gr.Row():
|
411 |
+
with gr.Column(scale=0.5, min_width=400):
|
412 |
image_output = gr.Image(type='pil', interactive=False, label="Detection output")
|
413 |
with gr.Column(scale=0.5, min_width=500):
|
414 |
chat_output = gr.Textbox(label="Text output")
|