Giter Club home page Giter Club logo

Comments (7)

Chaoses-Ib avatar Chaoses-Ib commented on September 24, 2024

Have you tried to load with another ComfyUI server? i.e. start ComfyUI manually, and then

from comfy_script.runtime import *
load('http://127.0.0.1:8188/')
from comfy_script.runtime.nodes import *

from comfyscript.

Chaoses-Ib avatar Chaoses-Ib commented on September 24, 2024

This bug is now fixed. Thanks for your report. Please run git pull to update and try again.

from comfyscript.

Gerkinfeltser avatar Gerkinfeltser commented on September 24, 2024

Awesome! Thanks for the quick fix! I'm still getting errors upon running the script but the image gets generated!

Here's the log (using exact same script as above). Again, while the errors are annoying, it works.
comfyui.log

Thanks again!

from comfyscript.

Chaoses-Ib avatar Chaoses-Ib commented on September 24, 2024

The remaining errors are all about some special custom nodes. You can use other nodes normally. I'll fix these errors one by one, but that may take several days to finish. If there are nodes you want to use at now in them, you can comment here and I'll fix them first.

FYI, here is a list of broken nodes in your log:

0246.ScriptRule
0246.ScriptPile
List of any [Crystools]
XY Input: Lora Block Weight //Inspire
LoraLoaderBlockWeight //Inspire
Reorder
ModelFinder
CombineJobs
GetJobStep
JoinImageBatch
JoinImages
FaceStyler
MaterialsStyler
ComfyUIStyler
FaceStylerAdvanced
MaterialsStylerAdvanced
ComfyUIStylerAdvanced
ttN xyPlot
Qr Code (mtb)
Text To Image (mtb)
HighRes-Fix Script

from comfyscript.

Chaoses-Ib avatar Chaoses-Ib commented on September 24, 2024

Wow, comfyui-styles-all adds ~500k values to the value list, that's crazy... So much values make loading too slow. I need to do some optimizations, or ignore too large lists.

from comfyscript.

Chaoses-Ib avatar Chaoses-Ib commented on September 24, 2024

There are actually fewer bugs than I thought. According to my test, most nodes are fixed now. The only remaining problem is about ttN imageOutput.number_padding, but it's just an enum, you can use string/int literals to workaround it.

Nodes: 1148
ComfyScript: ttN imageOutput.number_padding: Invalid enum value: 2
ComfyScript: ttN imageOutput.number_padding: Invalid enum value: 3
ComfyScript: ttN imageOutput.number_padding: Invalid enum value: 4
ComfyScript: ttN imageOutput.number_padding: Invalid enum value: 5
ComfyScript: ttN imageOutput.number_padding: Invalid enum value: 6
ComfyScript: ttN imageOutput.number_padding: Invalid enum value: 7
ComfyScript: ttN imageOutput.number_padding: Invalid enum value: 8
ComfyScript: ttN imageOutput.number_padding: Invalid enum value: 9

from comfyscript.

Gerkinfeltser avatar Gerkinfeltser commented on September 24, 2024

Awesome, thanks again for looking into this! I super appreciate it & am sorry for the extra work!

from comfyscript.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.