Spaces:
Runtime error
Runtime error
Commit
·
b8f31c9
1
Parent(s):
c7d7bda
update markdown for file
Browse files
app.py
CHANGED
|
@@ -1405,7 +1405,7 @@ def chathmi3(message, history2):
|
|
| 1405 |
if file_names != []:
|
| 1406 |
for file_name in file_names:
|
| 1407 |
if file_name != "":
|
| 1408 |
-
history2 = history2 + [(None, (file_name,))]
|
| 1409 |
Filename_Chatbot = file_name
|
| 1410 |
yield ["", history2]
|
| 1411 |
else:
|
|
@@ -1503,7 +1503,7 @@ def chathmi4(message, history2):
|
|
| 1503 |
if file_names != []:
|
| 1504 |
for file_name in file_names:
|
| 1505 |
if file_name != "":
|
| 1506 |
-
history2 = history2 + [(None, (file_name,))]
|
| 1507 |
Filename_Chatbot = file_name
|
| 1508 |
yield ["", history2, "SUBMIT", "STOP"]
|
| 1509 |
else:
|
|
|
|
| 1405 |
if file_names != []:
|
| 1406 |
for file_name in file_names:
|
| 1407 |
if file_name != "":
|
| 1408 |
+
history2 = history2 + [(None, (file_name, file_name))]
|
| 1409 |
Filename_Chatbot = file_name
|
| 1410 |
yield ["", history2]
|
| 1411 |
else:
|
|
|
|
| 1503 |
if file_names != []:
|
| 1504 |
for file_name in file_names:
|
| 1505 |
if file_name != "":
|
| 1506 |
+
history2 = history2 + [(None, (file_name, file_name))]
|
| 1507 |
Filename_Chatbot = file_name
|
| 1508 |
yield ["", history2, "SUBMIT", "STOP"]
|
| 1509 |
else:
|