Smile_Changer / README_gradio.md
LogicGoInfotechSpaces's picture
Add Gradio app (app.py), requirements for Space, and README
cd11413
|
raw
history blame
522 Bytes

Run locally

  1. Install core requirements from the repo (CUDA-compatible torch recommended).

  2. Install UI deps:

    python3 -m pip install -r requirements-gradio.txt

  3. Ensure pretrained weights are available at pretrained_models/ (or symlink).

  4. Launch:

    python3 app.py

Hugging Face Space

  • Add app.py as the entry point.
  • Add requirements.txt and requirements-gradio.txt to the Space (merge if desired).
  • Make sure all large weights are present in pretrained_models/ (LFS) or fetched at build time.