Spaces:
Runtime error
Runtime error
Commit
·
12e63ff
1
Parent(s):
d3f03f4
correct button type
Browse files
app.py
CHANGED
@@ -694,6 +694,7 @@ def chathmi2(message, history):
|
|
694 |
def func_upload_file(files, chat_history2):
|
695 |
global file_list_loaded
|
696 |
file_list_loaded = []
|
|
|
697 |
for unit in files:
|
698 |
file_list_loaded.append(unit.name)
|
699 |
# file_list_loaded = files
|
@@ -1073,7 +1074,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("📁 SUM DOC", file_count="
|
1077 |
retry_button = gr.Button("RETRY")
|
1078 |
clear_button = gr.Button("CLEAR")
|
1079 |
with gr.Accordion(
|
|
|
694 |
def func_upload_file(files, chat_history2):
|
695 |
global file_list_loaded
|
696 |
file_list_loaded = []
|
697 |
+
print(files)
|
698 |
for unit in files:
|
699 |
file_list_loaded.append(unit.name)
|
700 |
# file_list_loaded = files
|
|
|
1074 |
label= "OUTPUT",
|
1075 |
)
|
1076 |
upload_button = gr.UploadButton("✡️ INGEST DB", file_count="multiple", scale= 0, variant="secondary")
|
1077 |
+
summary_file_button = gr.UploadButton("📁 SUM DOC", file_count="multiple", scale= 0, variant="secondary")
|
1078 |
retry_button = gr.Button("RETRY")
|
1079 |
clear_button = gr.Button("CLEAR")
|
1080 |
with gr.Accordion(
|