Spaces:
Runtime error
Runtime error
Commit
·
c95d0d3
1
Parent(s):
2f0bcb7
correct clear functino
Browse files
app.py
CHANGED
|
@@ -734,10 +734,10 @@ def fake(message, history4):
|
|
| 734 |
|
| 735 |
|
| 736 |
def clearall():
|
| 737 |
-
global memory_openai
|
| 738 |
-
global memory
|
| 739 |
-
memory_openai.clear()
|
| 740 |
-
memory.clear()
|
| 741 |
return []
|
| 742 |
|
| 743 |
def retry(history3):
|
|
|
|
| 734 |
|
| 735 |
|
| 736 |
def clearall():
|
| 737 |
+
# global memory_openai
|
| 738 |
+
# global memory
|
| 739 |
+
# memory_openai.clear()
|
| 740 |
+
# memory.clear()
|
| 741 |
return []
|
| 742 |
|
| 743 |
def retry(history3):
|