radames / Real-Time-Latent-Consistency-Model

App showcasing multiple real-time diffusion models pipelines with Diffusers
https://huggingface.co/spaces/radames/Real-Time-Latent-Consistency-Model
Apache License 2.0
873 stars 102 forks source link

TypeError: slice indices must be integers or None or have an index method #6

Closed tralala87 closed 12 months ago

tralala87 commented 1 year ago

Solution in https://github.com/radames/Real-Time-Latent-Consistency-Model/issues/5 did not resolve issue in my case.

radames commented 1 year ago

hi @tralala87 , the issue is the pipeline doesn't have a bounding yet for when you set strength, inference steps and lcm_original_steps , for now just make sure you don't go to very low levels for steps + strength

tralala87 commented 1 year ago

I've tried different combinations of setting those two parameters, but I always get this error. Although my video is about 1 minute long. Is that too long? Btw, I also get the same error when just runnin ghte img2img

radames commented 12 months ago

solved for now, I've remove the option to set the LCM steps, however you will still get an error if the number of steps is too low and the strength