adarsh commited on
Commit
89cfcf5
1 Parent(s): 5839dd5

added env key

Browse files
Files changed (2) hide show
  1. .gitignore +3 -0
  2. app.py +1 -1
.gitignore CHANGED
@@ -1,2 +1,5 @@
1
  myenv/
2
  .env
 
 
 
 
1
  myenv/
2
  .env
3
+ models/
4
+ tempCodeRunnerFile.py
5
+ __pycache__/
app.py CHANGED
@@ -14,7 +14,7 @@ from pinecone import Pinecone
14
  # Load environment variables
15
  load_dotenv()
16
 
17
- PINECONE_API_KEY = os.environ.get('PINECONE_API_KEY')
18
  index_name = "medicure-chatbot"
19
 
20
  # Set page configuration
 
14
  # Load environment variables
15
  load_dotenv()
16
 
17
+ PINECONE_API_KEY = os.getenv('PINECONE_API_KEY')
18
  index_name = "medicure-chatbot"
19
 
20
  # Set page configuration