broadfield-dev commited on
Commit
d5fb3f1
·
verified ·
1 Parent(s): 663577a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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:{build_out}'}]
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')