Spaces:
Runtime error
Runtime error
Commit
·
732d2d6
1
Parent(s):
d84903c
update exception
Browse files
app.py
CHANGED
@@ -1143,8 +1143,8 @@ def chathmi3(message, history2):
|
|
1143 |
history2 = history2 + [(None, (file_name,))]
|
1144 |
Filename_Chatbot = file_name
|
1145 |
yield ["", history2]
|
1146 |
-
except:
|
1147 |
-
print("No need to add file in chatbot")
|
1148 |
|
1149 |
except Exception as e:
|
1150 |
print("chathmi3 error:", e)
|
@@ -1196,8 +1196,8 @@ def chathmi4(message, history2):
|
|
1196 |
history2 = history2 + [(None, (file_name,))]
|
1197 |
Filename_Chatbot = file_name
|
1198 |
yield ["", history2, "SUBMIT", "STOP"]
|
1199 |
-
except:
|
1200 |
-
print("No need to add file in chatbot")
|
1201 |
|
1202 |
except Exception as e:
|
1203 |
print("chathmi4 error:", e)
|
|
|
1143 |
history2 = history2 + [(None, (file_name,))]
|
1144 |
Filename_Chatbot = file_name
|
1145 |
yield ["", history2]
|
1146 |
+
except Exception as e:
|
1147 |
+
print("No need to add file in chatbot:", e)
|
1148 |
|
1149 |
except Exception as e:
|
1150 |
print("chathmi3 error:", e)
|
|
|
1196 |
history2 = history2 + [(None, (file_name,))]
|
1197 |
Filename_Chatbot = file_name
|
1198 |
yield ["", history2, "SUBMIT", "STOP"]
|
1199 |
+
except Exception as e:
|
1200 |
+
print("No need to add file in chatbot:", e)
|
1201 |
|
1202 |
except Exception as e:
|
1203 |
print("chathmi4 error:", e)
|