Download app.py from azmisahin/docker: direct link, hf CLI and curl.
- Browser
- Download file 333 Bytes
-
https://huggingface.co/spaces/azmisahin/docker/resolve/main/app.py
- Command line
-
hf download hf://spaces/azmisahin/docker/app.py
-
curl -L -o app.py https://huggingface.co/spaces/azmisahin/docker/resolve/main/app.py
333 Bytes
| async def app(scope, receive, send): | |
| assert scope['type'] == 'http' | |
| await send({ | |
| 'type': 'http.response.start', | |
| 'status': 200, | |
| 'headers': [ | |
| [b'content-type', b'text/plain'], | |
| ], | |
| }) | |
| await send({ | |
| 'type': 'http.response.body', | |
| 'body': b'Hello, world!', | |
| }) | |