tharu22 commited on
Commit
cf062d4
·
1 Parent(s): a584599
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,8 +11,8 @@ import numpy as np
11
  load_dotenv()
12
 
13
  # Initialize Pinecone
14
- pc = Pinecone(api_key=os.environ.get("PINECONE_API_KEY"))
15
- index_name = "image-index-50000"
16
  unsplash_index = pc.Index(index_name)
17
 
18
  # Load CLIP model and processor
 
11
  load_dotenv()
12
 
13
  # Initialize Pinecone
14
+ pc = Pinecone(api_key=os.environ.get("pcsk_6r4DPn_4P9LckhZak3PhebvSebnEBKQZuzYFeJL2X93LtLxZVBxyJ93inBAktefa8usvJC"))
15
+ index_name = "unsplash-index"
16
  unsplash_index = pc.Index(index_name)
17
 
18
  # Load CLIP model and processor