Instructions to use segmind/Segmind-VegaRT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use segmind/Segmind-VegaRT with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("segmind/Segmind-Vega", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("segmind/Segmind-VegaRT") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Real time streamlit demo
#1
by macadeliccc - opened
I managed to get a real time demo running in streamlit pretty well using a streamlit extras component. It functions similarly to the provided demo just with a slightly slower refresh. You can adjust the buffer, but the default is 500ms.