Spaces:
Sleeping
Sleeping
error resolved
Browse files
app.py
CHANGED
|
@@ -25,7 +25,7 @@ PROXY_PORT = os.environ.get("PROXY_PORT")
|
|
| 25 |
if not all([PROXY_USER, PROXY_PASS, PROXY_HOST, PROXY_PORT]):
|
| 26 |
raise RuntimeError("Proxy credentials not fully set in Hugging Face Secrets.")
|
| 27 |
|
| 28 |
-
PROXY_URL = f"http://{PROXY_USER}:{
|
| 29 |
|
| 30 |
# Create a session with proxy
|
| 31 |
proxy_session = requests.Session()
|
|
|
|
| 25 |
if not all([PROXY_USER, PROXY_PASS, PROXY_HOST, PROXY_PORT]):
|
| 26 |
raise RuntimeError("Proxy credentials not fully set in Hugging Face Secrets.")
|
| 27 |
|
| 28 |
+
PROXY_URL = f"http://{PROXY_USER}:{PROXY_PASS}@{PROXY_HOST}:{PROXY_PORT}"
|
| 29 |
|
| 30 |
# Create a session with proxy
|
| 31 |
proxy_session = requests.Session()
|