opentyphoon commited on
Commit
55ebdf5
·
verified ·
1 Parent(s): 601927a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.Box():
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>