Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -118,6 +118,6 @@ def plex(fpath, text, neg_prompt, one, two, three, four, five):
|
|
118 |
export_to_video(canframes, canvid, fps=fps)
|
119 |
return video, canvid, orvid
|
120 |
|
121 |
-
iface = gr.Interface(fn=plex, inputs=[gr.File(label="Your video",interactive=True),gr.Textbox(label="prompt"),gr.Textbox(label="neg prompt"), gr.Slider(label="num inference steps", minimum=1, step=1, maximum=5, value=2), gr.Slider(label="prompt strength", minimum=0.
|
122 |
iface.queue(max_size=1,api_open=False)
|
123 |
iface.launch(max_threads=1)
|
|
|
118 |
export_to_video(canframes, canvid, fps=fps)
|
119 |
return video, canvid, orvid
|
120 |
|
121 |
+
iface = gr.Interface(fn=plex, inputs=[gr.File(label="Your video",interactive=True),gr.Textbox(label="prompt"),gr.Textbox(label="neg prompt"), gr.Slider(label="num inference steps", minimum=1, step=1, maximum=5, value=2), gr.Slider(label="prompt strength", minimum=0.00, step=0.01, maximum=19.99, value=5.00), gr.Slider(label="controlnet scale", minimum=0.01, step=0.01, maximum=0.99, value=0.80), gr.Slider(label="Guidance scale", minimum=0.01, step=0.01, maximum=9.99, value=2.00), gr.Slider(label="Manual seed", minimum=0, step=32, maximum=4836928, value=0)], outputs=[gr.Video(label="final"), gr.Video(label="canny vid"), gr.Video(label="orig")],description="Running on cpu, very slow! by JoPmt.")
|
122 |
iface.queue(max_size=1,api_open=False)
|
123 |
iface.launch(max_threads=1)
|