Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -8,6 +8,7 @@ from dotenv import load_dotenv, find_dotenv
|
|
| 8 |
from datetime import datetime, timedelta
|
| 9 |
from fastapi_cache import FastAPICache
|
| 10 |
from fastapi_cache.backends.inmemory import InMemoryBackend
|
|
|
|
| 11 |
|
| 12 |
# Load environment variables from .env file
|
| 13 |
#load_dotenv("keys.env")
|
|
|
|
| 8 |
from datetime import datetime, timedelta
|
| 9 |
from fastapi_cache import FastAPICache
|
| 10 |
from fastapi_cache.backends.inmemory import InMemoryBackend
|
| 11 |
+
from fastapi_cache.decorator import cache
|
| 12 |
|
| 13 |
# Load environment variables from .env file
|
| 14 |
#load_dotenv("keys.env")
|