Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(2 edits) (+1)

sxy9699 said:

I found an easy way to solve this problem: simply change the code in multi_frame_render.py

        reference_imgs = gr.UploadButton(label="Upload Guide Frames", file_types = ['.png','.jpg','.jpeg'], live=True, file_count = "multiple") 

to

reference_imgs = gr.File(file_count="directory", label="Upload Guide Frames", show_label=True)

Thanks for this quick fix!
In case you want to upload single files instead of a whole folder change the line to this:

reference_imgs = gr.File(file_count="multiple", file_types = ['.png','.jpg','.jpeg'], label="Upload Guide Frames", show_label=True, live=True)