Spaces:
Runtime error
Runtime error
|
Download README.md from vickwayne3/lora-preprocess-ui: direct link, hf CLI and curl.
- Browser
- Download file 841 Bytes
-
https://huggingface.co/spaces/vickwayne3/lora-preprocess-ui/resolve/main/README.md
- Command line
-
hf download hf://spaces/vickwayne3/lora-preprocess-ui/README.md
-
curl -L -o README.md https://huggingface.co/spaces/vickwayne3/lora-preprocess-ui/resolve/main/README.md
841 Bytes
A newer version of the Gradio SDK is available: 6.31.0
metadata
title: LoRA Preprocess UI
emoji: π§βπ¨
colorFrom: indigo
colorTo: gray
sdk: gradio
sdk_version: 4.21.0
python_version: '3.10'
app_file: app.py
pinned: false
LoRA Preprocess UI (Gradio)
Upload ~8 photos (selfies + body), get aligned/clean/face-neutral variants and captions.jsonl for LoRA fine-tuning.
Features
- Face detection & aligned crops (OpenCV SSD)
- Background removal (rembg u2netp)
- Face-only neutralized variant to avoid memorizing clothes/jewelry
- Optional Florence-2 captioning (set
FLORENCE_URL,FLORENCE_KEYenv vars) - Outputs saved under
outputs/preprocessed/inside the container
Run locally
pip install -r requirements.txt
python3 app.py
Env vars (optional)
FLORENCE_URL: endpoint that returns JSON withcaption/textFLORENCE_KEY: bearer token for that endpoint