Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ tokenizer = AutoTokenizer.from_pretrained("google/flan-t5-base")
|
|
| 14 |
model = AutoModelForSeq2SeqLM.from_pretrained("google/flan-t5-base")
|
| 15 |
|
| 16 |
# Initialize Pinecone with environment variable
|
| 17 |
-
PINECONE_API_KEY = os.getenv('
|
| 18 |
pc = Pinecone(api_key=PINECONE_API_KEY)
|
| 19 |
|
| 20 |
# Create index if it doesn't exist
|
|
|
|
| 14 |
model = AutoModelForSeq2SeqLM.from_pretrained("google/flan-t5-base")
|
| 15 |
|
| 16 |
# Initialize Pinecone with environment variable
|
| 17 |
+
PINECONE_API_KEY = os.getenv('a32ec76b-bb29-447c-8acf-72934513d1cd')
|
| 18 |
pc = Pinecone(api_key=PINECONE_API_KEY)
|
| 19 |
|
| 20 |
# Create index if it doesn't exist
|