prithivMLmods commited on
Commit
413193a
·
verified ·
1 Parent(s): 777c929

update app

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -226,7 +226,7 @@ with gr.Blocks(css=css, theme=steel_blue_theme) as demo:
226
  with gr.Row():
227
  with gr.Column(scale=1):
228
  image_input = gr.Image(type="pil", label="Upload Image", sources=["upload", "clipboard"])
229
- model_size = gr.Dropdown(choices=["Tiny", "Small", "Base", "Large", "Gundam (Recommended)"], value="Gundam (Recommended)", label="Resolution Size")
230
  task_type = gr.Dropdown(choices=["Free OCR", "Convert to Markdown", "Parse Figure", "Locate Object by Reference"], value="Convert to Markdown", label="Task Type")
231
  ref_text_input = gr.Textbox(label="Reference Text (for Locate task)", placeholder="e.g., the teacher, 20-10, a red car...", visible=False)
232
  submit_btn = gr.Button("Process Image", variant="primary")
 
226
  with gr.Row():
227
  with gr.Column(scale=1):
228
  image_input = gr.Image(type="pil", label="Upload Image", sources=["upload", "clipboard"])
229
+ model_size = gr.Dropdown(choices=["Tiny", "Small", "Base", "Large", "Gundam (Recommended)"], value="Large", label="Resolution Size")
230
  task_type = gr.Dropdown(choices=["Free OCR", "Convert to Markdown", "Parse Figure", "Locate Object by Reference"], value="Convert to Markdown", label="Task Type")
231
  ref_text_input = gr.Textbox(label="Reference Text (for Locate task)", placeholder="e.g., the teacher, 20-10, a red car...", visible=False)
232
  submit_btn = gr.Button("Process Image", variant="primary")