Spaces:
Sleeping
Sleeping
alessiodevoto
commited on
Commit
•
f8680f5
1
Parent(s):
bae2df7
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -27,9 +27,13 @@ def main():
|
|
27 |
config = yaml.safe_load(file)
|
28 |
|
29 |
# setup
|
30 |
-
|
31 |
-
os.environ["
|
32 |
-
os.environ["
|
|
|
|
|
|
|
|
|
33 |
|
34 |
llm_settings = config['llm']
|
35 |
newsletter_meta_info = config['newsletter']
|
|
|
27 |
config = yaml.safe_load(file)
|
28 |
|
29 |
# setup
|
30 |
+
#try:
|
31 |
+
# os.environ["RECOMMENDER_URL"] = config['recommender_api']['base_url']
|
32 |
+
# os.environ["RECOMMENDER_KEY"] = config['recommender_api']['key']
|
33 |
+
# os.environ["OPENAI_KEY"] = config['llm']['api_key']
|
34 |
+
#except:
|
35 |
+
# pass
|
36 |
+
|
37 |
|
38 |
llm_settings = config['llm']
|
39 |
newsletter_meta_info = config['newsletter']
|