Spaces:
Runtime error
Runtime error
Commit
·
d3f03f4
1
Parent(s):
f2fc630
correct typo
Browse files
app.py
CHANGED
|
@@ -1073,7 +1073,7 @@ with gr.Blocks() as demo:
|
|
| 1073 |
label= "OUTPUT",
|
| 1074 |
)
|
| 1075 |
upload_button = gr.UploadButton("✡️ INGEST DB", file_count="multiple", scale= 0, variant="secondary")
|
| 1076 |
-
summary_file_button = gr.UploadButton("📁
|
| 1077 |
retry_button = gr.Button("RETRY")
|
| 1078 |
clear_button = gr.Button("CLEAR")
|
| 1079 |
with gr.Accordion(
|
|
@@ -1109,7 +1109,7 @@ with gr.Blocks() as demo:
|
|
| 1109 |
then(HMI_Wait, None, [submit_button, stop_button])
|
| 1110 |
# stop_button.click(read_logs, None, logs, cancels=[inf2])
|
| 1111 |
upload_button.upload(func_upload_file, [upload_button, chatbot], chatbot)
|
| 1112 |
-
summary_file_button.
|
| 1113 |
agentchoice.change(SetAgent, agentchoice, None)
|
| 1114 |
frash_logs.click(read_logs, None, logs)
|
| 1115 |
voice_input.stop_recording(SingleTalk, [voice_input, chatbot], [voice_input, voice_output, chatbot]).\
|
|
|
|
| 1073 |
label= "OUTPUT",
|
| 1074 |
)
|
| 1075 |
upload_button = gr.UploadButton("✡️ INGEST DB", file_count="multiple", scale= 0, variant="secondary")
|
| 1076 |
+
summary_file_button = gr.UploadButton("📁 SUM DOC", file_count="single", scale= 0, variant="secondary")
|
| 1077 |
retry_button = gr.Button("RETRY")
|
| 1078 |
clear_button = gr.Button("CLEAR")
|
| 1079 |
with gr.Accordion(
|
|
|
|
| 1109 |
then(HMI_Wait, None, [submit_button, stop_button])
|
| 1110 |
# stop_button.click(read_logs, None, logs, cancels=[inf2])
|
| 1111 |
upload_button.upload(func_upload_file, [upload_button, chatbot], chatbot)
|
| 1112 |
+
summary_file_button.upload(Summary_upload_file, [summary_file_button, chatbot], chatbot)
|
| 1113 |
agentchoice.change(SetAgent, agentchoice, None)
|
| 1114 |
frash_logs.click(read_logs, None, logs)
|
| 1115 |
voice_input.stop_recording(SingleTalk, [voice_input, chatbot], [voice_input, voice_output, chatbot]).\
|