laxsvips commited on
Commit
c3618b0
·
1 Parent(s): 9287de1

Removed reference to .env

Browse files
Files changed (1) hide show
  1. chat.py +3 -3
chat.py CHANGED
@@ -1,7 +1,7 @@
1
  from time import time, sleep
2
  import datetime
3
- import dotenv
4
- import os
5
  import openai
6
  import json
7
  import pinecone
@@ -11,7 +11,7 @@ import re
11
  from langchain.memory import VectorStoreRetrieverMemory
12
 
13
  ## Read the environment variables
14
- dotenv.load_dotenv('.env')
15
  openai.api_key = os.getenv('OPENAI_API_KEY')
16
  embedding_model = os.getenv('EMBEDDING_ENGINE')
17
  convo_length = int(os.getenv('CONVO_LENGTH_TO_FETCH'))
 
1
  from time import time, sleep
2
  import datetime
3
+ # import dotenv
4
+ # import os
5
  import openai
6
  import json
7
  import pinecone
 
11
  from langchain.memory import VectorStoreRetrieverMemory
12
 
13
  ## Read the environment variables
14
+ # dotenv.load_dotenv('.env')
15
  openai.api_key = os.getenv('OPENAI_API_KEY')
16
  embedding_model = os.getenv('EMBEDDING_ENGINE')
17
  convo_length = int(os.getenv('CONVO_LENGTH_TO_FETCH'))