Omnibus commited on
Commit
0a9e53f
·
verified ·
1 Parent(s): 890838c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -195,7 +195,7 @@ def save_memory(purpose, history):
195
  e=chunk
196
  print(f'e:: {e}')
197
  new_history=""
198
- task = f'Compile this data to fulfill the task: Index this data, and complete the purpose: {purpose}\n'
199
  for z in range(divi):
200
  print(f's:e :: {s}:{e}')
201
 
@@ -225,7 +225,7 @@ def save_memory(purpose, history):
225
  # print(f'Line:: {line}')
226
  #skills.append(resp)
227
  #print ("final2" + resp)
228
- resp=eval(resp.split('</s>')[0])
229
  print ("final2" + resp)
230
 
231
  try:
 
195
  e=chunk
196
  print(f'e:: {e}')
197
  new_history=""
198
+ task = f'Index this Data\n'
199
  for z in range(divi):
200
  print(f's:e :: {s}:{e}')
201
 
 
225
  # print(f'Line:: {line}')
226
  #skills.append(resp)
227
  #print ("final2" + resp)
228
+ resp=resp.split('</s>')[0]
229
  print ("final2" + resp)
230
 
231
  try: