Files
ACE-Step/inference.ipynb
T
2025-05-06 14:45:07 -07:00

2.1 KiB

Open In Colab

In [ ]:
#@title Install and Download
!wget -O /content/mini.sh https://repo.anaconda.com/miniconda/Miniconda3-py310_25.1.1-2-Linux-x86_64.sh
!chmod +x /content/mini.sh
!bash /content/mini.sh -b -f -p /usr/local
!conda install -q -y jupyter
!conda install -q -y google-colab -c conda-forge
!python -m ipykernel install --name "py310" --user
!git clone https://github.com/usamireko/ACE-Step
%cd /content/ACE-Step
!pip install -r requirements.txt
!pip install huggingface-hub numpy==1.26.0
!huggingface-cli download ACE-Step/ACE-Step-v1-3.5B --local-dir /content/ACE-Step/checkpoints --local-dir-use-symlinks False
In [ ]:
#@title Run Gradio UI
bf16 = True # @param {"type":"boolean"}

!python app.py --checkpoint_path ./checkpoints/ --port 7865 --device_id 0 --share true --bf16 {bf16}