Instructions to use Comfy-Org/ace_step_1.5_ComfyUI_files 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_ComfyUI_files 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
| 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() |