Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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})
|