Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -420,6 +420,8 @@ def run(purpose,history):
|
|
| 420 |
#history = ""
|
| 421 |
if not history:
|
| 422 |
history = ""
|
|
|
|
|
|
|
| 423 |
action_name = "SEARCH_ENGINE" if task is None else "MAIN"
|
| 424 |
action_input = None
|
| 425 |
while True:
|
|
|
|
| 420 |
#history = ""
|
| 421 |
if not history:
|
| 422 |
history = ""
|
| 423 |
+
else:
|
| 424 |
+
history=str(history)
|
| 425 |
action_name = "SEARCH_ENGINE" if task is None else "MAIN"
|
| 426 |
action_input = None
|
| 427 |
while True:
|