Spaces:
Running
Running
Update app.py
Browse files
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 =
|
| 67 |
-
os.environ["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 |
|