Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ INDEX_ID = 'youtube-search'
|
|
| 8 |
|
| 9 |
@st.experimental_singleton
|
| 10 |
def init_pinecone():
|
| 11 |
-
pinecone.init(api_key=PINECONE_KEY, environment="us-
|
| 12 |
return pinecone.Index(INDEX_ID)
|
| 13 |
|
| 14 |
@st.experimental_singleton
|
|
|
|
| 8 |
|
| 9 |
@st.experimental_singleton
|
| 10 |
def init_pinecone():
|
| 11 |
+
pinecone.init(api_key=PINECONE_KEY, environment="us-east1-gcp")
|
| 12 |
return pinecone.Index(INDEX_ID)
|
| 13 |
|
| 14 |
@st.experimental_singleton
|