Spaces:
Runtime error
Runtime error
Download utils/! from cloudaiRambo/cloudairambo: direct link, hf CLI and curl.
- Browser
- Download file 200 Bytes
-
https://huggingface.co/spaces/cloudaiRambo/cloudairambo/resolve/main/utils/!
- Command line
-
hf download 'hf://spaces/cloudaiRambo/cloudairambo/utils/!'
-
curl -L -o '!' 'https://huggingface.co/spaces/cloudaiRambo/cloudairambo/resolve/main/utils/!'
200 Bytes
| from fastapi.responses import FileResponse | |
| def send_file(path: str): | |
| return FileResponse( | |
| path, | |
| filename=path.split("/")[-1], | |
| media_type="application/octet-stream" | |
| ) | |