Spaces:
Runtime error
Runtime error
Commit
·
c184879
1
Parent(s):
0ded0b0
Update app.py
Browse filescorrect filelist name
app.py
CHANGED
|
@@ -351,7 +351,10 @@ def chathmi2(message, history):
|
|
| 351 |
|
| 352 |
def func_upload_file(files, chat_history):
|
| 353 |
global file_list_loaded
|
| 354 |
-
file_list_loaded =
|
|
|
|
|
|
|
|
|
|
| 355 |
print(file_list_loaded)
|
| 356 |
# print(chat_history)
|
| 357 |
test_msg = ["Request Upload File into DB", "Operation Ongoing...."]
|
|
|
|
| 351 |
|
| 352 |
def func_upload_file(files, chat_history):
|
| 353 |
global file_list_loaded
|
| 354 |
+
file_list_loaded = []
|
| 355 |
+
for unit in files:
|
| 356 |
+
file_list_loaded.append(unit.name)
|
| 357 |
+
# file_list_loaded = files
|
| 358 |
print(file_list_loaded)
|
| 359 |
# print(chat_history)
|
| 360 |
test_msg = ["Request Upload File into DB", "Operation Ongoing...."]
|