Spaces:
Sleeping
Sleeping
Removed reference to .env
Browse files- gameload.py +2 -2
gameload.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import os
|
2 |
-
import dotenv
|
3 |
import openai
|
4 |
import pinecone
|
5 |
from langchain.document_loaders import Docx2txtLoader
|
@@ -10,7 +10,7 @@ from helper import append_file
|
|
10 |
import json
|
11 |
|
12 |
## Read the environment variables
|
13 |
-
dotenv.load_dotenv('.env')
|
14 |
openai.api_key = os.getenv('OPENAI_API_KEY')
|
15 |
embedding_model = os.getenv('EMBEDDING_ENGINE')
|
16 |
debug_mode = os.getenv('DEBUG')
|
|
|
1 |
import os
|
2 |
+
# import dotenv
|
3 |
import openai
|
4 |
import pinecone
|
5 |
from langchain.document_loaders import Docx2txtLoader
|
|
|
10 |
import json
|
11 |
|
12 |
## Read the environment variables
|
13 |
+
# dotenv.load_dotenv('.env')
|
14 |
openai.api_key = os.getenv('OPENAI_API_KEY')
|
15 |
embedding_model = os.getenv('EMBEDDING_ENGINE')
|
16 |
debug_mode = os.getenv('DEBUG')
|