johann22 commited on
Commit
61c75bd
1 Parent(s): ee72905

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -345,7 +345,7 @@ def run(purpose,history):
345
  task=None
346
  directory="./"
347
  if history:
348
- history=eval(str(history).strip("[]"))
349
  if not history:
350
  history = ""
351
 
 
345
  task=None
346
  directory="./"
347
  if history:
348
+ history=str(history).strip("[]")
349
  if not history:
350
  history = ""
351