Download apps/client/services/storage.py from jun2024/fc: direct link, hf CLI and curl.
- Browser
- Download file 474 Bytes
-
https://huggingface.co/spaces/jun2024/fc/resolve/main/apps/client/services/storage.py
- Command line
-
hf download hf://spaces/jun2024/fc/apps/client/services/storage.py
-
curl -L -o storage.py https://huggingface.co/spaces/jun2024/fc/resolve/main/apps/client/services/storage.py
474 Bytes
| """Backward-compatible storage exports for client module.""" | |
| from apps.core.services.storage_service import ( | |
| _get_media_root, | |
| delete_media_file, | |
| is_absolute_path, | |
| normalize_to_media_rel, | |
| sanitize_upload_filename, | |
| save_uploaded_file, | |
| to_media_abs, | |
| ) | |
| __all__ = [ | |
| "_get_media_root", | |
| "delete_media_file", | |
| "is_absolute_path", | |
| "normalize_to_media_rel", | |
| "sanitize_upload_filename", | |
| "save_uploaded_file", | |
| "to_media_abs", | |
| ] | |