Comments (2)
It's now added. Example:
> python -m comfy_script.transpile tests\transpile\default.json --runtime
from comfy_script.runtime import *
load()
from comfy_script.runtime.nodes import *
with Workflow():
model, clip, vae = CheckpointLoaderSimple('v1-5-pruned-emaonly.ckpt')
conditioning = CLIPTextEncode('beautiful scenery nature glass bottle landscape, , purple galaxy bottle,', clip)
conditioning2 = CLIPTextEncode('text, watermark', clip)
latent = EmptyLatentImage(512, 512, 1)
latent = KSampler(model, 156680208700286, 20, 8, 'euler', 'normal', conditioning, conditioning2, latent, 1)
image = VAEDecode(latent, vae)
SaveImage(image, 'ComfyUI')
Save the code to script.py
:
> python -m comfy_script.transpile tests\transpile\default.json --runtime > script.py
from comfyscript.
Great!
from comfyscript.
Related Issues (20)
- I have installed the ComfyUI_Ib_CustomNodes Package. But can't seem to use the ImageToPIL Node HOT 2
- Pass configuration options when loading ComfyUI package? HOT 2
- ComfyUI embedded installation failure HOT 4
- Handling "UI-only" nodes HOT 12
- ipywidgets/gui from VSCode? HOT 20
- Ideas for getting the image preview associated with a Lora? HOT 1
- Error with Inspire HOT 2
- Save Image returns what? HOT 2
- Auto Queue HOT 16
- grab workflow from image HOT 7
- LoadImage - TypeError: Object of type Image is not JSON serializable HOT 2
- thoughts on idiomatic way of making xy grid? HOT 8
- Getting errors after sampler run, logs hidden HOT 2
- Thanks for all your help! Can I buy you a coffee/beer/tea? HOT 5
- See multiple images, but without multiple samplers HOT 5
- transpiler reusing variables that should be unique HOT 2
- New Loras downloaded, how to regenerate enumerations? HOT 1
- How to use it? This plugin is not show up in chrome.Is it the code editor as front replace web browser for comfyui? HOT 9
- VSCode Jupyter Notebook slows way down over time HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comfyscript.