Omnibus commited on
Commit
d513153
1 Parent(s): 29fe941

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -36,7 +36,7 @@ def parse_action(string: str):
36
 
37
 
38
 
39
- VERBOSE = False
40
  MAX_HISTORY = 100
41
  MAX_DATA = 100
42
 
@@ -242,10 +242,11 @@ def call_main(purpose, task, history, action_input):
242
  return action_name, action_input, history, task
243
  else:
244
 
245
- #history += "observation: {}\n".format(line)
246
  #assert False, "unknown action: {}".format(line)
247
- return "UPDATE-TASK", None, history, task
248
-
 
249
  return "MAIN", None, history, task
250
 
251
 
 
36
 
37
 
38
 
39
+ VERBOSE = True
40
  MAX_HISTORY = 100
41
  MAX_DATA = 100
42
 
 
242
  return action_name, action_input, history, task
243
  else:
244
 
245
+ history += "observation: {}\n".format(line)
246
  #assert False, "unknown action: {}".format(line)
247
+ #return "UPDATE-TASK", None, history, task
248
+ if "VERBOSE":
249
+ print(history)
250
  return "MAIN", None, history, task
251
 
252