Spaces:
Sleeping
Sleeping
change index name
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ def run_query(query):
|
|
57 |
except:
|
58 |
# force reload
|
59 |
pinecone.init(api_key=PINECONE_KEY, environment=PINE_CONE_ENVIRONMENT)
|
60 |
-
st.session_state.index = pinecone.Index("
|
61 |
xc = st.session_state.index.query(xq, top_k=10, include_metadata=True)
|
62 |
|
63 |
results = []
|
|
|
57 |
except:
|
58 |
# force reload
|
59 |
pinecone.init(api_key=PINECONE_KEY, environment=PINE_CONE_ENVIRONMENT)
|
60 |
+
st.session_state.index = pinecone.Index("company-description")
|
61 |
xc = st.session_state.index.query(xq, top_k=10, include_metadata=True)
|
62 |
|
63 |
results = []
|