Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,7 +55,7 @@ async def fetch_token(client: httpx.AsyncClient, config: dict):
|
|
| 55 |
|
| 56 |
@app.get("/")
|
| 57 |
async def get_tokens():
|
| 58 |
-
async with httpx.AsyncClient(
|
| 59 |
results = await asyncio.gather(
|
| 60 |
*(fetch_token(client, cfg) for cfg in CONFIGS)
|
| 61 |
)
|
|
|
|
| 55 |
|
| 56 |
@app.get("/")
|
| 57 |
async def get_tokens():
|
| 58 |
+
async with httpx.AsyncClient() as client:
|
| 59 |
results = await asyncio.gather(
|
| 60 |
*(fetch_token(client, cfg) for cfg in CONFIGS)
|
| 61 |
)
|