This file contains 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
transformer.transformer_blocks.0.norm1.linear | |
transformer.transformer_blocks.0.norm1_context.linear | |
transformer.transformer_blocks.0.attn.to_q | |
transformer.transformer_blocks.0.attn.to_k | |
transformer.transformer_blocks.0.attn.to_v | |
transformer.transformer_blocks.0.attn.add_k_proj | |
transformer.transformer_blocks.0.attn.add_v_proj | |
transformer.transformer_blocks.0.attn.add_q_proj | |
transformer.transformer_blocks.0.attn.to_out.0 | |
transformer.transformer_blocks.0.attn.to_add_out |
This file contains 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
{ | |
"last_node_id": 341, | |
"last_link_id": 721, | |
"nodes": [ | |
{ | |
"id": 286, | |
"type": "ConditioningZeroOut", | |
"pos": [ | |
-1295.4237534051308, | |
126.18084781444678 |
This file contains 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 times for custom nodes: | |
0.0 seconds: /src/ComfyUI/custom_nodes/ComfyUI-Logic | |
0.0 seconds: /src/ComfyUI/custom_nodes/ComfyUI-BRIA_AI-RMBG | |
0.0 seconds: /src/ComfyUI/custom_nodes/ComfyUI_essentials | |
0.0 seconds: /src/ComfyUI/custom_nodes/masquerade-nodes-comfyui | |
0.0 seconds: /src/ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus | |
0.0 seconds: /src/ComfyUI/custom_nodes/ComfyUI-Custom-Scripts | |
0.0 seconds: /src/ComfyUI/custom_nodes/Derfuu_ComfyUI_ModdedNodes | |
0.0 seconds: /src/ComfyUI/custom_nodes/ComfyUI_UltimateSDUpscale | |
0.0 seconds: /src/ComfyUI/custom_nodes/ComfyUI-PhotoMaker |
This file contains 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
from openai import OpenAI | |
import os | |
from datetime import datetime | |
import requests | |
client = OpenAI() | |
prompt = "a portrait photo of a woman" | |
qualities = ["standard", "hd"] | |
styles = ["natural", "vivid"] |
This file contains 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 Replicate from 'replicate' | |
import * as dotenv from 'dotenv' | |
dotenv.config() | |
const replicate = new Replicate({ | |
auth: process.env.REPLICATE_API_TOKEN, | |
}) | |
async function main() { | |
const training = await replicate.trainings.create( |
This file contains 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
// Get a reference to the active document. | |
var doc = app.activeDocument; | |
// Set the height of the selection to the height of the document. | |
var height = doc.height; | |
// Set the x and y offset in pixels. | |
var xOffset = 5; | |
var yOffset = 5; |
This file contains 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
sudo curl -o /usr/bin/cog -L "https://github.com/replicate/cog/releases/latest/download/cog_$(uname -s)_$(uname -m)" | |
sudo chmod +x /usr/bin/cog | |
sudo usermod -aG docker $USER | |
export OPENAI_API_KEY= | |
pip install autocog | |
autocog |
This file contains 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
#!/bin/bash | |
# Check if the argument is provided | |
if [ -z "$1" ]; then | |
echo "Usage: $0 <filename_without_extension>" | |
exit 1 | |
fi | |
# Define input files and output file | |
filename="$1" |
This file contains 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
Hello you! | |
--- | |
MAN: Hello | |
WOMAN: Hi | |
--- | |
... |
This file contains 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
#!/bin/bash | |
# Check if 'convert' is available | |
if ! command -v convert &> /dev/null; then | |
echo "'convert' command not found. Please install ImageMagick and try again." | |
exit 1 | |
fi | |
input_file="$1" |
NewerOlder