Spaces:
Running
Running
title: Dduf Check | |
emoji: π | |
colorFrom: indigo | |
colorTo: gray | |
sdk: docker | |
pinned: false | |
app_port: 3000 | |
# DDUF Check | |
This spaces analyzes a file and checks if it is a DDUF file. A DDUF file is an uncompressed ZIP that contains .json and .safetensors files, with max one level of nesting. | |
You can generate a simple DDUF file by running the following command: | |
```bash | |
cd dduf-content && zip -r -0 ../file.dduf . | |
``` | |
You can try zip 64 format by running the following command: | |
```bash | |
cd dduf-content && zip -r -0 -fz ../file-64.dduf . | |
``` | |
## Credits | |
- https://en.wikipedia.org/wiki/ZIP_(file_format) | |
- https://blog.yaakov.online/zip64-go-big-or-go-home/ | |