logeswari commited on
Commit
6a86ea2
·
1 Parent(s): b03df17
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -13,7 +13,7 @@ import os
13
  app = FastAPI(title="Image & Text Search API", version="1.0")
14
 
15
  # ✅ Initialize Pinecone Properly
16
- PINECONE_API_KEY = os.getenv("PINECONE_API_KEY", "your-api-key") # Replace with actual API key
17
  INDEX_NAME = "images-index"
18
 
19
  pc = pinecone.Pinecone(api_key=PINECONE_API_KEY)
 
13
  app = FastAPI(title="Image & Text Search API", version="1.0")
14
 
15
  # ✅ Initialize Pinecone Properly
16
+ PINECONE_API_KEY = os.getenv("PINECONE_API_KEY", "pcsk_5W2aRh_QXKhMXdMUC7NVXWPXgpcT6J7cxhpvshc7MYWoPAqpRA8vmwes2Bx2xVnqYXeqme") # Replace with actual API key
17
  INDEX_NAME = "images-index"
18
 
19
  pc = pinecone.Pinecone(api_key=PINECONE_API_KEY)