Update app.py
Browse files
app.py
CHANGED
|
@@ -217,12 +217,12 @@ def request_to_v2(message, cookie, user_id,context=[]):
|
|
| 217 |
return responses, context
|
| 218 |
|
| 219 |
finally:
|
| 220 |
-
time.sleep(random.uniform(1,2))
|
| 221 |
-
ds = delete_conversation(user_id,channel_id,cookie)
|
| 222 |
-
if ds:
|
| 223 |
-
|
| 224 |
-
else:
|
| 225 |
-
|
| 226 |
|
| 227 |
print("*-"*100)
|
| 228 |
|
|
|
|
| 217 |
return responses, context
|
| 218 |
|
| 219 |
finally:
|
| 220 |
+
# time.sleep(random.uniform(1,2))
|
| 221 |
+
# ds = delete_conversation(user_id,channel_id,cookie)
|
| 222 |
+
# if ds:
|
| 223 |
+
# print(f"成功删除")
|
| 224 |
+
# else:
|
| 225 |
+
# print(f"删除失败")
|
| 226 |
|
| 227 |
print("*-"*100)
|
| 228 |
|