ManailFatima commited on
Commit
a6d62fe
·
verified ·
1 Parent(s): 3aaa94b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -36,8 +36,8 @@ app = Flask(__name__)
36
  load_dotenv()
37
 
38
  Pinecone_API_KEY = os.getenv("Pinecone_API_KEY")
39
- os.environ["PINECONE_API_KEY"] = Pinecone_API_KEY
40
- if not PINECONE_API_KEY:
41
  raise ValueError("Missing Pinecone API key. Set it in Hugging Face secrets.")
42
 
43
 
 
36
  load_dotenv()
37
 
38
  Pinecone_API_KEY = os.getenv("Pinecone_API_KEY")
39
+ os.environ["Pinecone_API_KEY"] = Pinecone_API_KEY
40
+ if not Pinecone_API_KEY:
41
  raise ValueError("Missing Pinecone API key. Set it in Hugging Face secrets.")
42
 
43