Spaces:
Runtime error
Runtime error
Commit
·
feb3edf
1
Parent(s):
5bf6c05
Delete config
Browse files
config/__init__.py
DELETED
File without changes
|
config/__pycache__/__init__.cpython-310.pyc
DELETED
Binary file (145 Bytes)
|
|
config/__pycache__/config.cpython-310.pyc
DELETED
Binary file (499 Bytes)
|
|
config/config.py
DELETED
@@ -1,18 +0,0 @@
|
|
1 |
-
import os
|
2 |
-
import tempfile
|
3 |
-
|
4 |
-
from dotenv import load_dotenv, find_dotenv
|
5 |
-
|
6 |
-
load_dotenv(find_dotenv())
|
7 |
-
|
8 |
-
PINECONE_API_KEY = os.getenv('PINECONE_API_KEY')
|
9 |
-
PINECONE_ENVIRONMENT = os.getenv('PINECONE_ENVIRONMENT')
|
10 |
-
OPENAI_API_KEY = os.getenv('OPENAI_API_KEY')
|
11 |
-
|
12 |
-
OUTPUT_DIR = os.path.join(
|
13 |
-
tempfile.gettempdir(),
|
14 |
-
'rkk-document-gpt',
|
15 |
-
'output'
|
16 |
-
)
|
17 |
-
|
18 |
-
os.makedirs(OUTPUT_DIR, exist_ok=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|