Update app.py
Browse files
app.py
CHANGED
@@ -693,8 +693,8 @@ with gr.Blocks(css=CSS, theme=gr.themes.Soft(font=["Arial", gr.themes.GoogleFont
|
|
693 |
file_input = gr.File(label="Drop file here or upload", file_count="multiple", elem_id="file-upload-area", height=120)
|
694 |
url_input = gr.Textbox(label="or enter a URL", placeholder="https://example.com/document.pdf", lines=2)
|
695 |
with gr.Row():
|
696 |
-
do_ocr = gr.Checkbox(label="Do OCR on Images", value=
|
697 |
-
do_table = gr.Checkbox(label="Parse Tables", value=
|
698 |
with gr.Accordion("Prompt Designer", open=False):
|
699 |
task_description_input = gr.Textbox(label="Task Description", value=default_task_description, lines=3, elem_id="task-description")
|
700 |
few_shot_input = gr.Textbox(label="Few-Shot Examples", value=default_few_shot, lines=10, elem_id="few-shot")
|
|
|
693 |
file_input = gr.File(label="Drop file here or upload", file_count="multiple", elem_id="file-upload-area", height=120)
|
694 |
url_input = gr.Textbox(label="or enter a URL", placeholder="https://example.com/document.pdf", lines=2)
|
695 |
with gr.Row():
|
696 |
+
do_ocr = gr.Checkbox(label="Do OCR on Images", value=False, visible=False)
|
697 |
+
do_table = gr.Checkbox(label="Parse Tables", value=False, visible=False)
|
698 |
with gr.Accordion("Prompt Designer", open=False):
|
699 |
task_description_input = gr.Textbox(label="Task Description", value=default_task_description, lines=3, elem_id="task-description")
|
700 |
few_shot_input = gr.Textbox(label="Few-Shot Examples", value=default_few_shot, lines=10, elem_id="few-shot")
|