tswp / doc /instructions.md
cbr's picture
Upload 57 files
07cc5c1

A newer version of the Gradio SDK is available: 6.11.0

Upgrade

Installation

create conda or venv python environment with Swap-Mukham/requirement_xxxx.txt. currently cpu and cuda are supported. more device support can be added through Swap-Mukham/swap_mukham/utils/devie.py.

Download models

Running on cpu

python app.py --local --device cpu

Running on cuda

python app.py --local --device cuda

Note

  • remove --local cli argument to use default image & video components.
  • if cuda is not detected install pytorch and uncomment first line of Swap-Mukham/app.py