Download app.py from p0000000/DL: direct link, hf CLI and curl.
- Browser
- Download file 448 Bytes
-
https://huggingface.co/spaces/p0000000/DL/resolve/main/app.py
- Command line
-
hf download hf://spaces/p0000000/DL/app.py
-
curl -L -o app.py https://huggingface.co/spaces/p0000000/DL/resolve/main/app.py
448 Bytes
| import sys | |
| import os | |
| sys.path.insert(0, os.path.abspath(os.path.dirname(__file__))) | |
| import chunking | |
| import extract_playlist_playwright | |
| import youtube_search | |
| from fastapi import FastAPI | |
| app = FastAPI() | |
| async def root(): | |
| return { | |
| "message": "Hello from main app!", | |
| "chunking": chunking.say_hello(), | |
| "extract": extract_playlist_playwright.say_hello(), | |
| "youtube": youtube_search.say_hello() | |
| } | |