Spaces:
Sleeping
Sleeping
| # app/main.py | |
| from fastapi import FastAPI | |
| from app.api.endpoints import video | |
| app = FastAPI() | |
| # Register the video router | |
| app.include_router(video.router, prefix="/video", tags=["Video download and Processing"]) | |
| async def root(): | |
| return {"message": "Welcome to the YouTube Video Processing API!"} | |