Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,9 @@ for i in range(5):
|
|
45 |
print(i,"\n",chunks.loc[i,'chunks'])
|
46 |
temp_df = chunks[:5]
|
47 |
temp_doc = create_documents(temp_df,'chunks')
|
48 |
-
|
|
|
|
|
49 |
|
50 |
|
51 |
print("emedding done")
|
|
|
45 |
print(i,"\n",chunks.loc[i,'chunks'])
|
46 |
temp_df = chunks[:5]
|
47 |
temp_doc = create_documents(temp_df,'chunks')
|
48 |
+
for i in range(5):
|
49 |
+
print(i,"\n",temp_doc[i])
|
50 |
+
hybrid_embed_chunks(docs= temp_doc, collection_name = "giz_worldwide")
|
51 |
|
52 |
|
53 |
print("emedding done")
|