SungBeom commited on
Commit
4d48f2a
1 Parent(s): 4f17559

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -1,15 +1,15 @@
1
  import os
2
  import configparser
3
 
4
- config = configparser.ConfigParser()
5
- config.read('./secrets.ini')
6
-
7
- openai_api_key = config['OPENAI']['OPENAI_API_KEY']
8
- serper_api_key = config['SERPER']['SERPER_API_KEY']
9
- serp_api_key = config['SERPAPI']['SERPAPI_API_KEY']
10
- os.environ.update({'OPENAI_API_KEY': openai_api_key})
11
- os.environ.update({'SERPER_API_KEY': serper_api_key})
12
- os.environ.update({'SERPAPI_API_KEY': serp_api_key})
13
 
14
  from typing import List, Union
15
  import re
 
1
  import os
2
  import configparser
3
 
4
+ # config = configparser.ConfigParser()
5
+ # config.read('./secrets.ini')
6
+
7
+ # openai_api_key = config['OPENAI']['OPENAI_API_KEY']
8
+ # serper_api_key = config['SERPER']['SERPER_API_KEY']
9
+ # serp_api_key = config['SERPAPI']['SERPAPI_API_KEY']
10
+ # os.environ.update({'OPENAI_API_KEY': openai_api_key})
11
+ # os.environ.update({'SERPER_API_KEY': serper_api_key})
12
+ # os.environ.update({'SERPAPI_API_KEY': serp_api_key})
13
 
14
  from typing import List, Union
15
  import re