broadfield commited on
Commit
185bc9f
·
verified ·
1 Parent(s): fe5d244

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -135,7 +135,9 @@ def build_space(repo_name,file_name,file_content,access_token=""):
135
  return [{'role':'assistant','content': 'There was an Error: '+e}]
136
 
137
 
138
- def agent(prompt,history,mod,data="None"):
 
 
139
  in_data=[None,None,None,None,None,]
140
  in_data[0]=data
141
  prompt=prompt['text']
 
135
  return [{'role':'assistant','content': 'There was an Error: '+e}]
136
 
137
 
138
+ def agent(prompt,history,data="None",mod=2):
139
+ print('data ',data)
140
+ print('mod ',mod)
141
  in_data=[None,None,None,None,None,]
142
  in_data[0]=data
143
  prompt=prompt['text']