Instructions to use Comfy-Org/ACE-Step-1.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusion Single File
How to use Comfy-Org/ACE-Step-1.5 with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download app.py from Comfy-Org/ACE-Step-1.5: direct link, hf CLI and curl.
- Browser
- Download file 389 Bytes
-
https://huggingface.co/Comfy-Org/ACE-Step-1.5/resolve/refs%2Fpr%2F9/app.py
- Command line
-
hf download hf://Comfy-Org/ACE-Step-1.5@refs/pr/9/app.py
-
curl -L -o app.py https://huggingface.co/Comfy-Org/ACE-Step-1.5/resolve/refs%2Fpr%2F9/app.py
389 Bytes
| import gradio as gr | |
| def generate_caption(topic): | |
| return f"🌾 OJA OKO STUDIO\n\n{topic} 🌱\nFresh, natural and straight from the source.\n\n#OjaOko #FarmToTable #NaijaFood" | |
| iface = gr.Interface( | |
| fn=generate_caption, | |
| inputs="text", | |
| outputs="text", | |
| title="OJA OKO Caption Generator", | |
| description="Generate captions for your farm & food content" | |
| ) | |
| iface.launch() |