Download FileStream/server/__init__.py from AZLABS/telegbot: direct link, hf CLI and curl.
- Browser
- Download file 183 Bytes
-
https://huggingface.co/spaces/AZLABS/telegbot/resolve/main/FileStream/server/__init__.py
- Command line
-
hf download hf://spaces/AZLABS/telegbot/FileStream/server/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/AZLABS/telegbot/resolve/main/FileStream/server/__init__.py
183 Bytes
| from aiohttp import web | |
| from .stream_routes import routes | |
| def web_server(): | |
| web_app = web.Application(client_max_size=30000000) | |
| web_app.add_routes(routes) | |
| return web_app | |