| title: PicRotate | |
| sdk: gradio | |
| sdk_version: 4.44.1 | |
| python_version: 3.12 | |
| app_file: app.py | |
| pinned: false | |
| license: mit | |
| short_description: Rotate images by 90 degrees or any custom angle. | |
| # PicRotate | |
| Rotate an image from a file upload or pasted clipboard image using Gradio. | |
| ## Hugging Face Spaces | |
| This repository is ready for a Gradio Space. The required Space components are: | |
| - `README.md` metadata block with `sdk: gradio`, `sdk_version: 4.44.1`, `python_version: 3.12`, and `app_file: app.py` | |
| - `app.py` as the Gradio application entry point | |
| - `requirements.txt` for Python dependencies installed by the Space runtime | |
| Create a Hugging Face Space with the Gradio SDK, then push these files to the Space repository. The Space will build and launch `app.py` automatically. | |
| ## Requirements | |
| - `gradio==4.44.1` | |
| - `pillow>=10.0.0` | |
| - `huggingface-hub<1.0.0` | |
| - `pydantic==2.10.6` | |
| ## Run | |
| ```powershell | |
| uv sync | |
| uv run python app.py | |
| ``` | |