Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -261,7 +261,7 @@ def agent(prompt_in,history,mod=2,tok_in=""):
|
|
261 |
print(e)
|
262 |
file_read="FILE HAS NO CONTENT"
|
263 |
print('file list\n',file_read)
|
264 |
-
history+=[{'role':'system','content':f'RETURNED FILE CONTENT: NAME: spaces/{user_}{repo_}/{com} CONTENT:{
|
265 |
yield history
|
266 |
elif 'IMAGE' in fn:
|
267 |
print('IMAGE called')
|
|
|
261 |
print(e)
|
262 |
file_read="FILE HAS NO CONTENT"
|
263 |
print('file list\n',file_read)
|
264 |
+
history+=[{'role':'system','content':f'RETURNED FILE CONTENT: NAME: spaces/{user_}{repo_}/{com} CONTENT:{file_read}'}]
|
265 |
yield history
|
266 |
elif 'IMAGE' in fn:
|
267 |
print('IMAGE called')
|