Spaces:
Runtime error
Runtime error
Update ChuanhuChatbot.py
Browse files- ChuanhuChatbot.py +3 -3
ChuanhuChatbot.py
CHANGED
@@ -260,9 +260,9 @@ with gr.Blocks(theme=small_and_beautiful_theme) as demo:
|
|
260 |
"使用在线搜索"), value=False, elem_classes="switch-checkbox", elem_id="gr-websearch-cb", visible=False)
|
261 |
index_files = gr.Files(label=i18n(
|
262 |
"上传"), type="file", elem_id="upload-index-file")
|
263 |
-
two_column = gr.Checkbox(label=i18n(
|
264 |
-
|
265 |
-
summarize_btn = gr.Button(i18n("总结"))
|
266 |
# TODO: 公式ocr
|
267 |
# formula_ocr = gr.Checkbox(label=i18n("识别公式"), value=advance_docs["pdf"].get("formula_ocr", False))
|
268 |
|
|
|
260 |
"使用在线搜索"), value=False, elem_classes="switch-checkbox", elem_id="gr-websearch-cb", visible=False)
|
261 |
index_files = gr.Files(label=i18n(
|
262 |
"上传"), type="file", elem_id="upload-index-file")
|
263 |
+
#two_column = gr.Checkbox(label=i18n(
|
264 |
+
# "双栏pdf"), value=advance_docs["pdf"].get("two_column", False))
|
265 |
+
#summarize_btn = gr.Button(i18n("总结"))
|
266 |
# TODO: 公式ocr
|
267 |
# formula_ocr = gr.Checkbox(label=i18n("识别公式"), value=advance_docs["pdf"].get("formula_ocr", False))
|
268 |
|