Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -152,10 +152,9 @@ def build_space(repo_name,file_name,file_content,access_token=""):
|
|
152 |
|
153 |
def agent(prompt,history,mod=2):
|
154 |
print(prompt)
|
155 |
-
print('data ',data)
|
156 |
print('mod ',mod)
|
157 |
in_data=[None,None,None,None,None,]
|
158 |
-
in_data[0]=
|
159 |
prompt=prompt['text']
|
160 |
fn=""
|
161 |
com=""
|
|
|
152 |
|
153 |
def agent(prompt,history,mod=2):
|
154 |
print(prompt)
|
|
|
155 |
print('mod ',mod)
|
156 |
in_data=[None,None,None,None,None,]
|
157 |
+
in_data[0]=prompt['files']
|
158 |
prompt=prompt['text']
|
159 |
fn=""
|
160 |
com=""
|