Spaces:
Sleeping
Sleeping
import logging | |
from fastapi import FastAPI | |
app = FastAPI() | |
logging.basicConfig( | |
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', | |
level=logging.INFO | |
) | |
logger = logging.getLogger(__name__) | |
logger.info("Запускаемся... 🥳🥳🥳") | |
def greet_json(): | |
return {"Hello": "World!"} |