Update app.py
Browse files54 unmodified lines555657585960616289 unmodified lines1521531541551561571581591601611622 unmodified lines16516616716816917017154 unmodified linesimage_resolution, detect_resolution, ddim_steps, scale, seed_in, eta)print(result[0])im = Image.fromarray(result[0])im.save(f"your_file" + {i} + ".jpeg")return f"your_file" + {i} + ".jpeg"def get_frames(video_in):89 unmodified lines"><h1 style="font-weight: 900; margin-bottom: 7px; margin-top: 5px;">Pix2Pix Video</h1></div><p style="margin-bottom: 10px; font-size: 94%">Apply Instruct Pix2Pix Diffusion to a video</p></div>"""2 unmodified lines<div class="footer"><p>Examples by <a href="https://twitter.com/CitizenPlain" target="_blank">Nathan Shipley</a> • Follow <a href="https://twitter.com/fffiloni" target="_blank">Sylvain Filoni</a> for future updates 🤗</p></div>54 unmodified lines555657585960616289 unmodified lines1521531541551561571581591601611622 unmodified lines16516616716816917054 unmodified linesimage_resolution, detect_resolution, ddim_steps, scale, seed_in, eta)print(result[0])im = Image.fromarray(result[0])im.save("your_file" + str(i) + ".jpeg")return "your_file" + str(i) + ".jpeg"def get_frames(video_in):89 unmodified lines"><h1 style="font-weight: 900; margin-bottom: 7px; margin-top: 5px;">ControlNet Video</h1></div><p style="margin-bottom: 10px; font-size: 94%">Apply ControlNet to a video</p></div>"""2 unmodified lines<div class="footer"><p>Follow <a href="https://twitter.com/fffiloni" target="_blank">Sylvain Filoni</a> for future updates 🤗</p></div>
app.py+4-5