johann22 commited on
Commit
ddcf702
1 Parent(s): 044d577

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -344,7 +344,8 @@ def run(purpose,history):
344
  #print(hist)
345
  task=None
346
  directory="./"
347
- history.append("")
 
348
  action_name = "UPDATE-TASK" if task is None else "MAIN"
349
  action_input = None
350
  while True:
 
344
  #print(hist)
345
  task=None
346
  directory="./"
347
+ if not history:
348
+ history = ""
349
  action_name = "UPDATE-TASK" if task is None else "MAIN"
350
  action_input = None
351
  while True: