Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -3,7 +3,7 @@ from fastapi.middleware.cors import CORSMiddleware
|
|
3 |
from fastapi_cache import FastAPICache
|
4 |
from fastapi_cache.backends.inmemory import InMemoryBackend
|
5 |
from fastapi_cache.decorator import cache
|
6 |
-
|
7 |
app = FastAPI()
|
8 |
|
9 |
@app.on_event("startup")
|
|
|
3 |
from fastapi_cache import FastAPICache
|
4 |
from fastapi_cache.backends.inmemory import InMemoryBackend
|
5 |
from fastapi_cache.decorator import cache
|
6 |
+
import os
|
7 |
app = FastAPI()
|
8 |
|
9 |
@app.on_event("startup")
|