Commit
•
d1ada29
1
Parent(s):
3025d66
remove repeated yield
Browse files
app.py
CHANGED
@@ -156,7 +156,8 @@ def generator(
|
|
156 |
del out
|
157 |
del state
|
158 |
gc.collect()
|
159 |
-
|
|
|
160 |
|
161 |
|
162 |
def user(message, chatbot):
|
|
|
156 |
del out
|
157 |
del state
|
158 |
gc.collect()
|
159 |
+
if no_history:
|
160 |
+
yield out_str.strip()
|
161 |
|
162 |
|
163 |
def user(message, chatbot):
|