File size: 941 Bytes
d18ef71
 
 
aa9ec19
 
d18ef71
 
 
aa9ec19
d18ef71
 
aa9ec19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
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
```