Download apps/image_rotation/models.py from jun2024/fc: direct link, hf CLI and curl.
- Browser
- Download file 473 Bytes
-
https://huggingface.co/spaces/jun2024/fc/resolve/main/apps/image_rotation/models.py
- Command line
-
hf download hf://spaces/jun2024/fc/apps/image_rotation/models.py
-
curl -L -o models.py https://huggingface.co/spaces/jun2024/fc/resolve/main/apps/image_rotation/models.py
473 Bytes
| """Models for image rotation tools.""" | |
| from __future__ import annotations | |
| from django.db import models | |
| from django.utils.translation import gettext_lazy as _ | |
| class ImageRotationTool(models.Model): | |
| """Admin entry model for image rotation.""" | |
| id: int | |
| name = models.CharField(max_length=64, default="Image Rotation") | |
| class Meta: | |
| managed = False | |
| verbose_name = _("图片自动旋转") | |
| verbose_name_plural = _("图片自动旋转") | |