cyberandy commited on
Commit
12d556f
·
verified ·
1 Parent(s): 3f403d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -63,8 +63,8 @@ local_css("style.css")
63
 
64
  # Set the API endpoint and the API key
65
  API_ENDPOINT = "https://api2.woorank.com/reviews"
66
- API_KEY = st.secrets["woorank_api_key"]
67
- os.environ["OPENAI_API_KEY"] = st.secrets["openai_api_key"]
68
 
69
  # Generate the report by calling the ChatGPT Turbo API and the WooRank API
70
 
 
63
 
64
  # Set the API endpoint and the API key
65
  API_ENDPOINT = "https://api2.woorank.com/reviews"
66
+ API_KEY = os.environ.get("woorank_api_key")
67
+ os.environ["OPENAI_API_KEY"] = os.environ.get("openai_api_key")
68
 
69
  # Generate the report by calling the ChatGPT Turbo API and the WooRank API
70