vasilee commited on
Commit
27b9d22
·
verified ·
1 Parent(s): b50afe5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -216,7 +216,7 @@ if __name__ == "__main__":
216
  with gr.Row():
217
  with gr.Column(variant='panel', scale=5):
218
  file = gr.File(label="Please upload a PDF or image", file_types=[".pdf", ".png", ".jpeg", ".jpg"])
219
- max_pages = gr.Slider(1, 20, 10, step=1, label='Max convert pages')
220
  with gr.Row():
221
  layout_mode = gr.Dropdown(["layoutlmv3", "doclayout_yolo"], label="Layout model", value="doclayout_yolo")
222
  language = gr.Dropdown(all_lang, label="Language", value='auto')
 
216
  with gr.Row():
217
  with gr.Column(variant='panel', scale=5):
218
  file = gr.File(label="Please upload a PDF or image", file_types=[".pdf", ".png", ".jpeg", ".jpg"])
219
+ max_pages = gr.Slider(1, 300, 10, step=1, label='Max convert pages')
220
  with gr.Row():
221
  layout_mode = gr.Dropdown(["layoutlmv3", "doclayout_yolo"], label="Layout model", value="doclayout_yolo")
222
  language = gr.Dropdown(all_lang, label="Language", value='auto')