Spaces:
Running
Running
Download Thunder/server/__init__.py from Jishnupg/FileToLink: direct link, hf CLI and curl.
- Browser
- Download file 238 Bytes
-
https://huggingface.co/spaces/Jishnupg/FileToLink/resolve/main/Thunder/server/__init__.py
- Command line
-
hf download hf://spaces/Jishnupg/FileToLink/Thunder/server/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/Jishnupg/FileToLink/resolve/main/Thunder/server/__init__.py
238 Bytes
| # Thunder/server/__init__.py | |
| from aiohttp import web | |
| from .stream_routes import routes | |
| async def web_server(): | |
| web_app = web.Application(client_max_size=50 * 1024 * 1024) | |
| web_app.add_routes(routes) | |
| return web_app | |