Skip to content

Instantly share code, notes, and snippets.

View ryango's full-sized avatar

Ryan Gordon ryango

  • new york city
View GitHub Profile
@ryango
ryango / rusty.txt
Created April 25, 2023 16:59
rusty stroll
{
"W": 768,
"H": 1024,
"tiling": false,
"restore_faces": false,
"seed": -1,
"sampler": "Euler a",
"seed_resize_from_w": 0,
"seed_resize_from_h": 0,
"steps": 60,
@ryango
ryango / logs
Created April 19, 2023 17:56
deforum bug logs
.\webui.bat --xformers
venv "C:\Users\rg113\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Commit hash: 22bcc7be428c94e9408f589966c2040187245d81
Installing requirements for Web UI
{
"txt2img/Prompt/visible": true,
"txt2img/Prompt/value": "",
"txt2img/Negative prompt/visible": true,
"txt2img/Negative prompt/value": "",
"txt2img/Style 1/visible": true,
"txt2img/Style 1/value": "None",
"txt2img/Style 2/visible": true,
"txt2img/Style 2/value": "None",
"txt2img/Sampling method/visible": true,
@ryango
ryango / shelves.txt
Created April 19, 2023 17:50
repro gist for deforum close 3d disortion
{
"W": 512,
"H": 512,
"tiling": false,
"restore_faces": false,
"keep_3d_models_in_vram": false,
"seed": 1641615621,
"sampler": "Euler a",
"seed_resize_from_w": 0,
"seed_resize_from_h": 0,
@ryango
ryango / sushi.txt
Created April 2, 2023 00:23
sushi saturday deforum settings
{
"W": 768,
"H": 1024,
"tiling": false,
"restore_faces": false,
"seed": 1159736376,
"sampler": "Euler a",
"seed_resize_from_w": 0,
"seed_resize_from_h": 0,
"steps": 60,
{
"W": 768,
"H": 1024,
"tiling": false,
"restore_faces": false,
"seed": 1051632638,
"sampler": "Euler a",
"seed_resize_from_w": 0,
"seed_resize_from_h": 0,
"steps": 60,
{
"txt2img/Prompt/visible": true,
"txt2img/Prompt/value": "",
"txt2img/Negative prompt/visible": true,
"txt2img/Negative prompt/value": "",
"txt2img/Style 1/visible": true,
"txt2img/Style 1/value": "None",
"txt2img/Style 2/visible": true,
"txt2img/Style 2/value": "None",
"txt2img/Sampling method/visible": true,
@ryango
ryango / crash.txt
Created March 18, 2023 20:47
Deforum crash settings
{
"W": 512,
"H": 512,
"tiling": false,
"restore_faces": false,
"seed": -1,
"sampler": "Euler a",
"seed_resize_from_w": 0,
"seed_resize_from_h": 0,
"steps": 25,
import UIKit
import AVFoundation
class ViewController: UIViewController {
let engine = AVAudioEngine()
override func viewDidLoad() {
super.viewDidLoad()
let outputFormat = AVAudioFormat(commonFormat: .pcmFormatFloat32, sampleRate: 48000, channels: 2, interleaved: false)!
do {
try AVAudioSession.sharedInstance().setCategory(.playAndRecord, mode: .voiceChat, options: [.defaultToSpeaker, .allowBluetooth])