broadfield commited on
Commit
68a7c2a
·
verified ·
1 Parent(s): 535890f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -150,7 +150,8 @@ def build_space(repo_name,file_name,file_content,access_token=""):
150
  return [{'role':'assistant','content': 'There was an Error: '+e}]
151
 
152
 
153
- def agent(prompt,history,mod=2):
 
154
  print(prompt)
155
  print('mod ',mod)
156
  in_data=[None,None,None,None,None,]
 
150
  return [{'role':'assistant','content': 'There was an Error: '+e}]
151
 
152
 
153
+ def agent(prompt,history,mod=[2]):
154
+ mod=mod[0]
155
  print(prompt)
156
  print('mod ',mod)
157
  in_data=[None,None,None,None,None,]