Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
|
@@ -20,7 +20,7 @@ import uvloop
|
|
| 20 |
from fastapi.middleware.gzip import GZipMiddleware
|
| 21 |
from starlette.middleware.cors import CORSMiddleware
|
| 22 |
import contextlib
|
| 23 |
-
|
| 24 |
# Enable uvloop for faster event loop
|
| 25 |
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
|
| 26 |
|
|
|
|
| 20 |
from fastapi.middleware.gzip import GZipMiddleware
|
| 21 |
from starlette.middleware.cors import CORSMiddleware
|
| 22 |
import contextlib
|
| 23 |
+
import requests
|
| 24 |
# Enable uvloop for faster event loop
|
| 25 |
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
|
| 26 |
|