Skip to content

Instantly share code, notes, and snippets.

View vinyvince's full-sized avatar

Shiraz Camel vinyvince

View GitHub Profile
@vinyvince
vinyvince / cli.js
Created October 22, 2022 19:47 — forked from mattdesl/cli.js
colour palette from text prompt using Stable Diffusion https://twitter.com/mattdesl/status/1569457645182152705
/**
* General-purpose NodeJS CLI/API wrapping the Stable-Diffusion python scripts.
*
* Note that this uses an older fork of stable-diffusion
* with the 'txt2img.py' script, and that script was modified to
* support the --outfile command.
*/
var { spawn, exec } = require("child_process");
var path = require("path");
@vinyvince
vinyvince / houdini_otl_hotload.py
Created April 26, 2023 15:56 — forked from chris-gardner/houdini_otl_hotload.py
Load houdini otls / hdas on the fly
import hou
import os.path
def loadHdaLibrary(libPath):
"""
Loads all the HDA files in a folder
@param libPath: HDA library file path
"""