Pablo276 commited on
Commit
80c4d6b
·
verified ·
1 Parent(s): 6c9bb5c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -24,6 +24,7 @@ def get_stored_files():
24
  pc = Pinecone(api_key=os.environ.get("PINECONE_API_KEY"))
25
  index_name = os.environ.get("PINECONE_INDEX_NAME")
26
 
 
27
  # Check if the index exists. If not, there are no files.
28
  if index_name not in [index_info["name"] for index_info in pc.list_indexes()]:
29
  return []
 
24
  pc = Pinecone(api_key=os.environ.get("PINECONE_API_KEY"))
25
  index_name = os.environ.get("PINECONE_INDEX_NAME")
26
 
27
+ print(PINECONE_API_KEY, PINECONE_INDEX_NAME)
28
  # Check if the index exists. If not, there are no files.
29
  if index_name not in [index_info["name"] for index_info in pc.list_indexes()]:
30
  return []