Spaces:
Runtime error
Runtime error
Abhilashvj
commited on
Commit
•
552baab
1
Parent(s):
aab8068
Update app.py
Browse files
app.py
CHANGED
@@ -240,6 +240,7 @@ if len(ALL_FILES) > 0:
|
|
240 |
for doc in docs[i:i_end]:
|
241 |
meta_dict = doc.meta
|
242 |
meta_dict["text"] = doc.content
|
|
|
243 |
# create unique IDs
|
244 |
ids = [doc.id for doc in docs[i:i_end]]
|
245 |
# add all to upsert list
|
|
|
240 |
for doc in docs[i:i_end]:
|
241 |
meta_dict = doc.meta
|
242 |
meta_dict["text"] = doc.content
|
243 |
+
meta.append(meta_dict)
|
244 |
# create unique IDs
|
245 |
ids = [doc.id for doc in docs[i:i_end]]
|
246 |
# add all to upsert list
|