Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -105,7 +105,7 @@ with gr.Blocks(theme=theme) as demo:
|
|
105 |
# Update file_types to accept PDF as well as common image formats.
|
106 |
pdf_input = gr.File(label="📄 Upload Image file or PDF file", file_types=[".pdf", ".png", ".jpg", ".jpeg"])
|
107 |
|
108 |
-
with gr.
|
109 |
task_dropdown = gr.Radio(["default", "structure"], label="🎯 Select Task", value="default")
|
110 |
gr.HTML("""
|
111 |
<p><b>default</b>: This mode works for most cases and is recommended for files without a clear template such as infographics.</p>
|
|
|
105 |
# Update file_types to accept PDF as well as common image formats.
|
106 |
pdf_input = gr.File(label="📄 Upload Image file or PDF file", file_types=[".pdf", ".png", ".jpg", ".jpeg"])
|
107 |
|
108 |
+
with gr.Group():
|
109 |
task_dropdown = gr.Radio(["default", "structure"], label="🎯 Select Task", value="default")
|
110 |
gr.HTML("""
|
111 |
<p><b>default</b>: This mode works for most cases and is recommended for files without a clear template such as infographics.</p>
|