Spaces:
Running
Running
broadfield
commited on
Update app.py
Browse files
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,
|
|
|
|
|
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']
|