TongkunGuan commited on
Commit
37ef14b
·
verified ·
1 Parent(s): 9767857

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -142,7 +142,7 @@ with gr.Blocks(title="BPE Visualization Demo") as demo:
142
  model_type = gr.Dropdown(
143
  choices=["TokenFD_4096_English_seg", "TokenFD_2048_Bilingual_seg", "R50", "R50_siglip"],
144
  label="Select model type",
145
- value="TokenOCR_4096_English_seg" # 设置默认值为第一个选项
146
  )
147
  image_input = gr.Image(label="Upload images", type="pil")
148
  text_input = gr.Textbox(label="Input text")
 
142
  model_type = gr.Dropdown(
143
  choices=["TokenFD_4096_English_seg", "TokenFD_2048_Bilingual_seg", "R50", "R50_siglip"],
144
  label="Select model type",
145
+ value="TokenFD_4096_English_seg" # 设置默认值为第一个选项
146
  )
147
  image_input = gr.Image(label="Upload images", type="pil")
148
  text_input = gr.Textbox(label="Input text")