Omnibus commited on
Commit
690bf48
·
verified ·
1 Parent(s): 6c1c2f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -264,7 +264,7 @@ def save_memory(purpose, history):
264
  print (keyw.split("[")[1].split("]")[0])
265
  keyw=keyw.split("[")[1].split("]")[0]
266
  print(keyw)
267
- lod.append({"file_name":timename,"keywords":keyw})
268
  json_object = json.dumps(lod, indent=4)
269
  with open(f"tmp2-{uid}.json", "w") as outfile2:
270
  outfile2.write(json_object)
 
264
  print (keyw.split("[")[1].split("]")[0])
265
  keyw=keyw.split("[")[1].split("]")[0]
266
  print(keyw)
267
+ lod.append({"file_name":timename,"keywords":[keyw]})
268
  json_object = json.dumps(lod, indent=4)
269
  with open(f"tmp2-{uid}.json", "w") as outfile2:
270
  outfile2.write(json_object)