app.py
CHANGED
@@ -5,7 +5,6 @@ import json
|
|
5 |
|
6 |
print('here I am')
|
7 |
print(os.environ['TEST_SECRET'])
|
8 |
-
print(os.environ['OPENAI_API_KEY'])
|
9 |
|
10 |
pathToSettings = '../../env/ai.json'
|
11 |
if os.path.exists(pathToSettings):
|
@@ -19,10 +18,6 @@ if os.path.exists(pathToSettings):
|
|
19 |
os.environ[key] = settingsJson[key]
|
20 |
|
21 |
del settingsJson
|
22 |
-
else:
|
23 |
-
# Manually set settings
|
24 |
-
os.environ['HUGGING_FACE_API_KEY'] = 'Get here: https://huggingface.co/settings/tokens'
|
25 |
-
os.environ['OPENAI_API_KEY'] = 'Get here: https://platform.openai.com/account/api-keys'
|
26 |
|
27 |
# %% [markdown]
|
28 |
# # Setup Web Crawler and Lookup functions
|
|
|
5 |
|
6 |
print('here I am')
|
7 |
print(os.environ['TEST_SECRET'])
|
|
|
8 |
|
9 |
pathToSettings = '../../env/ai.json'
|
10 |
if os.path.exists(pathToSettings):
|
|
|
18 |
os.environ[key] = settingsJson[key]
|
19 |
|
20 |
del settingsJson
|
|
|
|
|
|
|
|
|
21 |
|
22 |
# %% [markdown]
|
23 |
# # Setup Web Crawler and Lookup functions
|