Spaces:
Runtime error
Runtime error
update env. var
Browse files
app.py
CHANGED
@@ -18,8 +18,8 @@ if os.getenv("OPENAI_API_KEY") is None:
|
|
18 |
)
|
19 |
|
20 |
|
21 |
-
homepage_url = os.getenv("
|
22 |
-
target_version = os.getenv("
|
23 |
|
24 |
# scrape and embed content from readthedocs website
|
25 |
scrape_rtd(
|
|
|
18 |
)
|
19 |
|
20 |
|
21 |
+
homepage_url = os.getenv("READTHEDOCS_URL") # e.g. "https://orion.readthedocs.io/"
|
22 |
+
target_version = os.getenv("READTHEDOCS_VERSION") # e.g. "en/stable"
|
23 |
|
24 |
# scrape and embed content from readthedocs website
|
25 |
scrape_rtd(
|