Skip to content

Conversation

@chuckkay
Copy link

@chuckkay chuckkay commented Apr 21, 2025

Do not consider this a one feature pull request anymore as i will be working on my fork more extensively with many new and many enhanced features. The new fork will be called QUEUEITUP For Framepack.
for fulll 1 file drop in mod visit https://github.com/chuckkay/QueueItUp_FramePack
many more features are added there

Enjoy
Screenshot 2025-04-22 032307

@chuckkay
Copy link
Author

from the guy who brought you QueueItUp for Facefusion, her is QueueItUp WanGP

cleaned up debugging from pull request
@zadokov
Copy link

zadokov commented Apr 21, 2025

@chuckkay - Is there a way to delete a specific item from the queue? Or add such functionality if not exist?

@chuckkay
Copy link
Author

chuckkay commented Apr 22, 2025

@chuckkay - Is there a way to delete a specific item from the queue? Or add such functionality if not exist?

not yet... working on ability to delet a spacific job from the queue... i can do the code very easily but because of gradio limitations the GUI would be terrible, basically a dropdown list and you would have to guess which one you are looking to delete without visual thumbnail to know for sure. but in the mean time you can always manually remove it from the job_queue.json file

@chuckkay
Copy link
Author

Screenshot 2025-04-21 205415

@chuckkay
Copy link
Author

Screenshot 2025-04-21 210410

now instead of being limited to uploading one input image, you can add multiple images to the prompt, and it will create a job for each image using the same prompt and settings, plus i added more gui improvements to thumbnails.
@chuckkay
Copy link
Author

Screenshot 2025-04-22 032307

@a-l-e-x-d-s-9
Copy link

Queue is a great functionality to have.
Thank you very much for implementing the basic functionality!
I have been testing it in the last couple days.
A few things that I have noticed:

  1. After a particular job started it's no longer showing the image in the Job Queue - only prompt text.
  2. There is no option to reorder jobs - it would be really helpful to have it.
  3. There is no way to cancel running job, only "End Generation" that would cancel everything.
  4. There is no way to remove a job from Job Queue.
  5. Is it possible to adjust jobs parameters after adding them to Job Queue? Maybe I missed it.
  6. Source images can be dragged only once, if trying to drag another one after that, it's not working.
    Hopefully this PR will be added to repository and the missing features will be implemented as well.

@chuckkay
Copy link
Author

Queue is a great functionality to have. Thank you very much for implementing the basic functionality! I have been testing it in the last couple days. A few things that I have noticed:

  1. After a particular job started it's no longer showing the image in the Job Queue - only prompt text.
  2. There is no option to reorder jobs - it would be really helpful to have it.
  3. There is no way to cancel running job, only "End Generation" that would cancel everything.
  4. There is no way to remove a job from Job Queue.
  5. Is it possible to adjust jobs parameters after adding them to Job Queue? Maybe I missed it.
  6. Source images can be dragged only once, if trying to drag another one after that, it's not working.
    Hopefully this PR will be added to repository and the missing features will be implemented as well.

great points, some i am working on, and some are new good ideas. and some have me stumped because gradio is limited and a pain in the ass. rest assured i am working on all of them. keep in mind it is not guaranteed that the job_queue.json and quick_prompts.json files will be compatible from version to version with all the changes im making. always best to delete those 2 files manually if you are experiencing errors or annomalies after updated between version of my demo_gradio.py mod.

some webui tweaks and restored previously "not used" negative prompt, don't know if it helps or not, but it's there now, and can be saved in the quick list with the prompt.
@chuckkay chuckkay changed the title added queueing and prompt saving added queueing, batching, prompt saving, and many ui tweeks Apr 23, 2025
@Kryptortio
Copy link

Did you miss this #150 pull request? Since that one already implemented a queue I think you should add a motivation if you think a different implementation is needed. Otherwise it might be better to focus work on that one because at a glance it seems to have more features (reorder, remove, load, save, clear) some of which were also requested here.

don't know why framepack leaves leftover shorter versions of the video, this will by default delete these temp mp4s and also delete the temp png file from the output folder
@tin2tin
Copy link

tin2tin commented Apr 24, 2025

@chuckkay Thank you for this convenient batch extension. One question: does it automatically save the generated video files, and if so, where are they saved?

Ah, in: \framepack_cu126_torch26\webui\outputs

@chuckkay
Copy link
Author

just added job deletion and job reordering.... i think im done now, this was a proof of concept, that i just kept adding tweaks and enhancements to, i hope developer will incorporate these features into official version, until then feel free to use this for queueing and batching.

@tin2tin
Copy link

tin2tin commented Apr 24, 2025

@chuckkay Tried hot fix 3 - and it still broken.

@tin2tin
Copy link

tin2tin commented Apr 24, 2025

@chuckkay The Queuing Order needs to be reset when Delete All Jobs

@chuckkay chuckkay changed the title added queueing, batching, prompt saving, and many ui tweeks QueueItUp for Framepack mod adds queueing, batching, prompt saving, and many ui tweeks Apr 24, 2025
@chuckkay
Copy link
Author

Fyi no updates for 24 hours, currently running a queue of 125 jobs lol.... can't wait to see what the authors and others come up with, when it come to features and improvements, if nothing by the weekend i will try to consolidate some of the better features into my mod by Sunday.

@chuckkay
Copy link
Author

@chuckkay Tried hot fix 3 - and it still broken.

Current version works very well for me. Try deleting job_queue.json and quick_prompts.json and restart...

@a-l-e-x-d-s-9
Copy link

I updated and got this error:

File "/home/alexds9/Documents/stable_diffusion/FramePack/demo_gradio.py", line 1694, in <module>
    default_prompt, default_n_prompt, default_length, default_gs = get_default_prompt()
ValueError: not enough values to unpack (expected 4, got 3)

@chuckkay
Copy link
Author

Did you miss this #150 pull request? Since that one already implemented a queue I think you should add a motivation if you think a different implementation is needed. Otherwise it might be better to focus work on that one because at a glance it seems to have more features (reorder, remove, load, save, clear) some of which were also requested here.

Yes i missed it and have now incorporated it's approach to ordering the queued jobs using a gradio datafield approach. I personally think my version is better because of all the other features queuing, UI and GUI features i offer, and also because it keeps the running job always at the top and completed jobs always at the bottom. All other jobs are movable up down and can also be moved to be first or last in the queue.

@chuckkay
Copy link
Author

I updated and got this error:


File "/home/alexds9/Documents/stable_diffusion/FramePack/demo_gradio.py", line 1694, in <module>

    default_prompt, default_n_prompt, default_length, default_gs = get_default_prompt()

ValueError: not enough values to unpack (expected 4, got 3)

Probably an old job created in a previous version is in your jobs_queue.json file. Deleting The job or entire json file will fix it.

@a-l-e-x-d-s-9
Copy link

The function wasn't returning the default empty negative prompt, code was expecting to get 4 return values, but got only 3. It was easy to fix it.

@my-bug
Copy link

my-bug commented Apr 26, 2025

First of all, this is an excellent branch — great work!

While batch-generating videos using random seeds, I noticed that some outputs turned out exceptionally well. I would like to continue generating longer videos based on those, but currently, I have no way of knowing which exact seed was used for a given video.

Would it be possible to record and save the exact seed used during generation into the job_queue file (or somewhere similar)?

I understand that the seeds are randomly assigned, but having the exact seed output after generation would be extremely helpful for reproducing or extending specific results.

Thank you for considering this feature! @chuckkay

@a-l-e-x-d-s-9
Copy link

Your fork is missing issues and discussions - so I'm asking here.
Do you plan to merge other useful PRs from here like: #157, #158, #167, #178, #334?

@chuckkay
Copy link
Author

Your fork is missing issues and discussions - so I'm asking here. Do you plan to merge other useful PRs from here like: #157, #158, #167, #178, #334?

issues and discussions are enabled now
#157, will wait for it to be perfected and guidance on which Loras work
#158, yes next week
#167, maybe but it will be tricky considering i use input_image widget for adding multiple images to create multiple jobs, but i will try.
#178, mine already add all ips data to png file.
#334? will wait for more progress with that mod, a new prompt for every second is too much, should use AI to determine and the automatically broken up into separate prompts, for user to review before adding the job.

@chuckkay
Copy link
Author

chuckkay commented Apr 27, 2025

First of all, this is an excellent branch — great work!

While batch-generating videos using random seeds, I noticed that some outputs turned out exceptionally well. I would like to continue generating longer videos based on those, but currently, I have no way of knowing which exact seed was used for a given video.

Would it be possible to record and save the exact seed used during generation into the job_queue file (or somewhere similar)?

I understand that the seeds are randomly assigned, but having the exact seed output after generation would be extremely helpful for reproducing or extending specific results.

Thank you for considering this feature! @chuckkay

next update will address this, if seed is -1 for a job it will create a random seed, save it to the job queue json and as long as you have the setting to keep tmp png all metadat including the seed will be stored in the png. i may add an option to save a job_id.json file containing the job settings

@chuckkay chuckkay deleted the branch lllyasviel:main April 27, 2025 05:40
@chuckkay chuckkay closed this Apr 27, 2025
@chuckkay chuckkay deleted the main branch April 27, 2025 05:40
@Tophness
Copy link

Tophness commented Apr 28, 2025

Did you miss this #150 pull request? Since that one already implemented a queue I think you should add a motivation if you think a different implementation is needed. Otherwise it might be better to focus work on that one because at a glance it seems to have more features (reorder, remove, load, save, clear) some of which were also requested here.

Looks like code was copied from there to add these features in his latest version. Which is fine, but a lot of my code is cross-compatible with the queue-related stuff I'm doing on WAN2GP and I'll be constantly updating both with new features.
The main thing is that it exists tbh. Usually stuff like this doesn't get queues.
Even A1111 doesn't have it after all these years and comfy's is kinda buggy and not able to be reorganized

@yawehoo
Copy link

yawehoo commented Apr 30, 2025

I am the bottleneck. I don't understand how to install this. I have installed framepack with pinokio (yeah, yeah, I know. Weak)
So now I have this installation 'guide' from you:
'Download QueueItUp
From this repo, grab:
Framepack_QueueItUp.bat
Framepack_QueueItUp.py'

And....?
Put it...?
Press:::?
You have a great and useful product here. Don't you want people to use it? People that don't know code, I mean.
PS: I will expect a short and terse 'answer' from you shortly. Or, in you own time.
Sorry, I'm getting a little bit salty when I'm drunk. I'm regretting this already, There is no way I'm going to press co

@chuckkay
Copy link
Author

chuckkay commented May 2, 2025

I am the bottleneck. I don't understand how to install this. I have installed framepack with pinokio (yeah, yeah, I know. Weak) So now I have this installation 'guide' from you: 'Download QueueItUp From this repo, grab: Framepack_QueueItUp.bat Framepack_QueueItUp.py'

And....? Put it...? Press:::? You have a great and useful product here. Don't you want people to use it? People that don't know code, I mean. PS: I will expect a short and terse 'answer' from you shortly. Or, in you own time. Sorry, I'm getting a little bit salty when I'm drunk. I'm regretting this already, There is no way I'm going to press co

pinokio uses different environments and not the latest version of framepack it will error out with my mod... the latest version of framepack has changed the utils.py file and pinokio doesn't have it last i checked.. don't use or need pinokio for this app its a simple install download the frampack zip file follow it instructions then drop my 2 files in the webui folder and run my bat file..

@yawehoo
Copy link

yawehoo commented May 2, 2025

Thank you for your answer. I would also like to apologize for my tone, I try not post when I'm drunk but that rarely works.
However....the original problem (for me) is still there. I can't for the life of me find any 'framepack zip', I can download 'raw' files but I don't know what to do with them. If there is further instructions in the zip file the I'm sure I could take it from there.
/Mikael

@yawehoo
Copy link

yawehoo commented May 2, 2025

Nevermind! It's now avaliable as a pinokio install! LOL!
Thanks again!
/Mikael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants