Download api/core/file/__init__.py from ZHZ1024/dify: direct link, hf CLI and curl.
- Browser
- Download file 419 Bytes
-
https://huggingface.co/spaces/ZHZ1024/dify/resolve/main/api/core/file/__init__.py
- Command line
-
hf download hf://spaces/ZHZ1024/dify/api/core/file/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/ZHZ1024/dify/resolve/main/api/core/file/__init__.py
419 Bytes
| from .constants import FILE_MODEL_IDENTITY | |
| from .enums import ArrayFileAttribute, FileAttribute, FileBelongsTo, FileTransferMethod, FileType | |
| from .models import ( | |
| File, | |
| FileExtraConfig, | |
| ImageConfig, | |
| ) | |
| __all__ = [ | |
| "FileType", | |
| "FileExtraConfig", | |
| "FileTransferMethod", | |
| "FileBelongsTo", | |
| "File", | |
| "ImageConfig", | |
| "FileAttribute", | |
| "ArrayFileAttribute", | |
| "FILE_MODEL_IDENTITY", | |
| ] | |