diff --git a/README.md b/README.md index 604ddb6..9a320e8 100644 --- a/README.md +++ b/README.md @@ -244,27 +244,10 @@ If you intend to integrate ACE-Step as a library into your own Python projects, 1. **Ensure Git is installed:** This method requires Git to be installed on your system and accessible in your system's PATH. 2. **Execute the installation command:** ```bash - pip install git+[https://github.com/ace-step/ACE-Step.git](https://github.com/ace-step/ACE-Step.git) + pip install git+https://github.com/ace-step/ACE-Step.git ``` It's recommended to use this command within a virtual environment to avoid conflicts with other packages. -Once the installation is complete, you can import and use the ACE-Step API as shown below: - -```python -from acestep.api import ACEStep - -model = ACEStep() - -audio_out = model.infer( - prompt="upbeat pop, catchy melody, female singer", - lyrics="[verse]\nSun is shining bright today\nFeeling happy, come what may", - audio_duration=5.0, # 5 seconds - infer_step=20 # Fewer steps for speed -) - -audio_out.save_wav("output.wav") -``` - #### 🛠️ Command Line Arguments - `--checkpoint_path`: Path to the model checkpoint (default: downloads automatically)