Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
''' | |
https://gist.github.com/kohya-ss/3f774da220df102548093a7abc8538ed | |
1. put this file in ComfyUI/custom_nodes | |
2. load node from <loaders> | |
''' | |
import torch | |
from comfy.ldm.modules.diffusionmodules.openaimodel import forward_timestep_embed, timestep_embedding, th | |
def apply_control(h, control, name): |
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
################################################################################ | |
## stravant's Godot plugin auto-reloader ## | |
## For ease of plugin development ## | |
## MIT licensed ## | |
## ## | |
## Call preload("./reloader.gd").new() in your EditorPlugin component's ## | |
## _enter_tree method to enable automatic reloading whenever you save changes ## | |
## to any of the plugin files for a tighter plugin rapid prototyping loop. ## | |
## ## | |
## Source: https://gist.github.com/stravant/7aec484bb5e34e3a6196faaa13159ac3 ## |
OlderNewer