Spaces:
Runtime error
Runtime error
from typing_extensions import Annotated | |
from fastapi import Depends, FastAPI | |
from app.dependencies import get_current_user | |
from .routers import image, video | |
app = FastAPI() | |
app.include_router(image.router) | |
app.include_router(video.router) | |
def getProfile(current_user: Annotated[any, Depends(get_current_user)]): | |
return current_user | |
def login(email: str, password: str): | |
return "not implemented yet" | |
def hello(): | |
return "Hello World!" | |