Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -6,7 +6,7 @@ from urllib.parse import urlparse
|
|
6 |
app = FastAPI()
|
7 |
|
8 |
# Initialize the aiohttp ClientSession
|
9 |
-
http_client =
|
10 |
|
11 |
@app.on_event("startup")
|
12 |
async def startup_event():
|
|
|
6 |
app = FastAPI()
|
7 |
|
8 |
# Initialize the aiohttp ClientSession
|
9 |
+
http_client = aiohttp.ClientSession()
|
10 |
|
11 |
@app.on_event("startup")
|
12 |
async def startup_event():
|