Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -146,7 +146,7 @@ def up_file(files):
|
|
146 |
with gr.Blocks() as demo:
|
147 |
with gr.Row():
|
148 |
with gr.Column():
|
149 |
-
file = gr.File(file_types=['.pdf'], label='点击上传PDF,进行解析', file_count='multiple')
|
150 |
doc_bu = gr.Button(value='提交解析结果', visible=False)
|
151 |
txt = gr.Textbox(label='PDF解析结果', visible=False)
|
152 |
doc_text_state = gr.State([])
|
|
|
146 |
with gr.Blocks() as demo:
|
147 |
with gr.Row():
|
148 |
with gr.Column():
|
149 |
+
file = gr.File(file_types=['.pdf'], label='点击上传PDF,进行解析(支持多文档、表格、OCR)', file_count='multiple')
|
150 |
doc_bu = gr.Button(value='提交解析结果', visible=False)
|
151 |
txt = gr.Textbox(label='PDF解析结果', visible=False)
|
152 |
doc_text_state = gr.State([])
|