alessiodevoto commited on
Commit
f8680f5
1 Parent(s): bae2df7

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -27,9 +27,13 @@ def main():
27
  config = yaml.safe_load(file)
28
 
29
  # setup
30
- os.environ["RECOMMENDER_URL"] = config['recommender_api']['base_url']
31
- os.environ["RECOMMENDER_KEY"] = config['recommender_api']['key']
32
- os.environ["OPENAI_KEY"] = config['llm']['api_key']
 
 
 
 
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']