Pijush2023 commited on
Commit
6a3d307
·
verified ·
1 Parent(s): a39286d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ pc = Pinecone(api_key=os.environ['PINECONE_API_KEY'])
21
  index_name = "italy-kg"
22
 
23
  # Create index if it doesn't exist
24
- if index_name not in pinecone.list_indexes():
25
  pc.create_index(
26
  name=index_name,
27
  dimension=1536,
 
21
  index_name = "italy-kg"
22
 
23
  # Create index if it doesn't exist
24
+ if index_name not in pc.list_indexes():
25
  pc.create_index(
26
  name=index_name,
27
  dimension=1536,