Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -52,7 +52,6 @@ async def proxy_request(request: Request):
|
|
| 52 |
|
| 53 |
# Use httpx to make an asynchronous GET request to the private API
|
| 54 |
try:
|
| 55 |
-
print('params', private_api_url)
|
| 56 |
async with httpx.AsyncClient(timeout=60.0) as client:
|
| 57 |
response = await client.get(private_api_url, headers=headers)
|
| 58 |
response.raise_for_status() # Raise an exception for 4xx/5xx responses
|
|
|
|
| 52 |
|
| 53 |
# Use httpx to make an asynchronous GET request to the private API
|
| 54 |
try:
|
|
|
|
| 55 |
async with httpx.AsyncClient(timeout=60.0) as client:
|
| 56 |
response = await client.get(private_api_url, headers=headers)
|
| 57 |
response.raise_for_status() # Raise an exception for 4xx/5xx responses
|