This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// convert 0..255 R,G,B values to binary string | |
RGBToBin = function(r,g,b){ | |
var bin = r << 16 | g << 8 | b; | |
return (function(h){ | |
return new Array(25-h.length).join("0")+h | |
})(bin.toString(2)) | |
} | |
// convert 0..255 R,G,B values to a hexidecimal color string | |
RGBToHex = function(r,g,b){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const DOMestic = (tpl) => { | |
const attach = parent => { | |
if (typeof parent !== 'object' || !parent.hasOwnProperty('el')) { | |
return console.error('parent should be an object with the property \'el\''); | |
} | |
let children = Array.from(parent.el.children); | |
let keys = []; | |
children.forEach((el, index) => { | |
let key = el.getAttribute('key'); | |
el.removeAttribute('key'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Ajax { | |
constructor(opts) { | |
this.callbacks = {} | |
this.on = this.on.bind(this) | |
this.fetch = this.fetch.bind(this) | |
this.error = this.error.bind(this) | |
this.data = this.data.bind(this) | |
this.complete = this.complete.bind(this) | |
return {...this.methods} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"LoRA_type": "Standard", | |
"adaptive_noise_scale": 0, | |
"additional_parameters": "", | |
"block_alphas": "", | |
"block_dims": "", | |
"block_lr_zero_threshold": "", | |
"bucket_no_upscale": true, | |
"bucket_reso_steps": 64, | |
"cache_latents": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { app } from "../scripts/app.js"; | |
const name = "Pixelass.Settings.LinkRenderMode"; | |
class Store { | |
links_render_mode = 0; | |
key = `Comfy.extension`; | |
defaultState = {}; | |
constructor(key, defaultState) { | |
this.key = `Comfy.${key}`; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"LoRA_type": "Standard", | |
"adaptive_noise_scale": 0, | |
"additional_parameters": "", | |
"block_alphas": "", | |
"block_dims": "", | |
"block_lr_zero_threshold": "", | |
"bucket_no_upscale": true, | |
"bucket_reso_steps": 64, | |
"cache_latents": true, |
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 6.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name,prompt,negative_prompt | |
Analog Film,"analog film photo {prompt} . faded film, desaturated, 35mm photo, grainy, vignette, vintage, Kodachrome, Lomography, stained, highly detailed, found footage","painting, drawing, illustration, glitch, deformed, mutated, cross-eyed, ugly, disfigured, {prompt}" | |
Anime,"anime artwork {prompt} . anime style, key visual, vibrant, studio anime, highly detailed","photo, deformed, black and white, realism, disfigured, low contrast, {prompt}" | |
Cinematic,"cinematic film still {prompt} . shallow depth of field, vignette, highly detailed, high budget, bokeh, cinemascope, moody, epic, gorgeous, film grain, grainy","anime, cartoon, graphic, text, painting, crayon, graphite, abstract, glitch, deformed, mutated, ugly, disfigured, {prompt}" | |
Comic Book,"comic {prompt} . graphic illustration, comic art, graphic novel art, vibrant, highly detailed","photograph, deformed, glitch, noisy, realistic, stock photo, {prompt}" | |
Craft Clay,"play-doh style {prompt} . sculpture, clay art, centered compo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"LoRA_type": "Standard", | |
"LyCORIS_preset": "full", | |
"adaptive_noise_scale": 0, | |
"additional_parameters": "--network_train_unet_only", | |
"block_alphas": "", | |
"block_dims": "", | |
"block_lr_zero_threshold": "", | |
"bucket_no_upscale": true, | |
"bucket_reso_steps": 64, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"LoRA_type": "Standard", | |
"LyCORIS_preset": "full", | |
"adaptive_noise_scale": 0, | |
"additional_parameters": "", | |
"block_alphas": "", | |
"block_dims": "", | |
"block_lr_zero_threshold": "", | |
"bucket_no_upscale": true, | |
"bucket_reso_steps": 64, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"LoRA_type": "Standard", | |
"LyCORIS_preset": "full", | |
"adaptive_noise_scale": 0, | |
"additional_parameters": "", | |
"block_alphas": "", | |
"block_dims": "", | |
"block_lr_zero_threshold": "", | |
"bucket_no_upscale": true, | |
"bucket_reso_steps": 64, |