Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from splade.models.transformer_rep import Splade
|
|
7 |
import pinecone
|
8 |
|
9 |
# Initialize Pinecone connection
|
10 |
-
api_key = os.getenv('PINECONE_API_KEY'
|
11 |
pinecone.init(api_key=api_key, environment='us-east1-gcp')
|
12 |
index_name = 'pubmed-splade'
|
13 |
|
|
|
7 |
import pinecone
|
8 |
|
9 |
# Initialize Pinecone connection
|
10 |
+
api_key = os.getenv('PINECONE_API_KEY')
|
11 |
pinecone.init(api_key=api_key, environment='us-east1-gcp')
|
12 |
index_name = 'pubmed-splade'
|
13 |
|