Omnibus commited on
Commit
af2ae6d
·
verified ·
1 Parent(s): 02b3d4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -265,6 +265,7 @@ def save_memory(purpose, history):
265
  print (keyw.split("[")[1].split("]")[0])
266
  keyw=keyw.split("[")[1].split("]")[0]
267
  for ea in keyw.split(","):
 
268
  print(ea)
269
  key_box.append(ea)
270
  lod.append({"file_name":timename,"keywords":key_box})
 
265
  print (keyw.split("[")[1].split("]")[0])
266
  keyw=keyw.split("[")[1].split("]")[0]
267
  for ea in keyw.split(","):
268
+ ea=ea.strip().strip("\n")
269
  print(ea)
270
  key_box.append(ea)
271
  lod.append({"file_name":timename,"keywords":key_box})