Instructions to use vetak8/My-ComfyUI-Models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use vetak8/My-ComfyUI-Models with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("vetak8/My-ComfyUI-Models", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
File size: 1,527 Bytes
3ddfcf2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
.cgfloat {
position: absolute;
z-index: 999999;
border: 1px solid black;
background-color: rgba(95, 158, 160, 0.713);
width: fit-content;
}
.cgfloat.hidden {
display:none
}
.cgfloat_header {
width: 100%;
text-align: center;
background-color: rgba(28, 51, 52, 0.713);
color: whitesmoke;
border-bottom: 1px solid black;
padding:4px;
font-size:larger;
}
.tiny .cgfloat_header {
font-size: smaller;
}
.cgfloat_body {
min-width: fit-content;
display:flex;
flex-direction: column;
}
.cgfloat_body .row {
color: white;
padding: 0px 4px;
display: flex;
align-items: center;
justify-content: center;
border-bottom: 1px dashed rgba(0, 0, 0, 0.45);
}
/* Countdown */
.cgfloat_body .counter_text {
min-width:50px;
text-align: right;
}
.cgfloat_body .counter_reset {
margin-left: 5px;
padding: 1px;
}
/* Buttons */
.cgfloat_body .row.buttons {
justify-content: space-evenly;
}
.cgfloat_body button {
margin: 4px;
padding: 2px;
min-width: 70px;
}
/* Extras */
.cgfloat_body .row.extras {
flex-direction: column;
}
.cgfloat_body .row.extras .extra {
width: 100%;
margin: 2px 0;
}
/* Tips */
.cgfloat_body .row.tip {
margin: 4px;
padding: 4px 0px;
justify-content: flex-start;
}
/* Text Edit */
.cgfloat_body .row.text_edit {
margin: 4px;
}
.cgfloat .tiny_image {
padding: 1px;
width: auto;
max-height: 100px;
object-fit: contain;
pointer-events: none;
}
|