Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def encode_query(model, query_text):
|
|
37 |
return model.encode(query_text).tolist()
|
38 |
|
39 |
# Initialize Pinecone
|
40 |
-
pc =
|
41 |
|
42 |
# If Pinecone initialized successfully, proceed with index management
|
43 |
if pc:
|
|
|
37 |
return model.encode(query_text).tolist()
|
38 |
|
39 |
# Initialize Pinecone
|
40 |
+
pc = initialize_pinecone()
|
41 |
|
42 |
# If Pinecone initialized successfully, proceed with index management
|
43 |
if pc:
|