xi0v Fabrice-TIERCELIN commited on
Commit
fdf74c1
β€’
1 Parent(s): 27f1ad3

*.avi is working, not *.ogg; let's try the others (#35)

Browse files

- *.avi is working, not *.ogg; let's try the others (fc9f2be876df4e0e40bdb545a46ecba065db02f3)


Co-authored-by: Fabrice TIERCELIN <[email protected]>

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -198,9 +198,9 @@ with gr.Blocks() as demo:
198
  motion_bucket_id = gr.Slider(label="Motion bucket id", info="Controls how much motion to add/remove from the image", value=127, minimum=1, maximum=255)
199
  noise_aug_strength = gr.Slider(label="Noise strength", info="The noise to add", value=0.1, minimum=0, maximum=1, step=0.1)
200
  decoding_t = gr.Slider(label="Decoding", info="Number of frames decoded at a time; this eats more VRAM; reduce if necessary", value=3, minimum=1, maximum=5, step=1)
201
- video_format = gr.Radio([["*.mp4", "mp4"], ["*.avi", "avi"], ["*.ogg", "ogg"], ["*.gif", "gif"]], label="Video format for result", info="File extention", value="mp4", interactive=True)
202
  frame_format = gr.Radio([["*.webp", "webp"], ["*.png", "png"], ["*.jpeg", "jpeg"], ["*.gif (unanimated)", "gif"], ["*.bmp", "bmp"]], label="Image format for frames", info="File extention", value="webp", interactive=True)
203
- version = gr.Radio([["Auto", "auto"], ["πŸƒπŸ»β€β™€οΈ SVD (trained on 14 f/s)", "svd"], ["πŸƒπŸ»β€β™€οΈπŸ’¨ SVD-XT (trained on 25 f/s)", "svdxt"], ["DragNUWA", "dragnuwa"]], label="Model", info="Trained model", value="auto", interactive=True)
204
  seed = gr.Slider(label="Seed", value=42, randomize=True, minimum=0, maximum=max_64_bit_int, step=1)
205
  randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
206
 
 
198
  motion_bucket_id = gr.Slider(label="Motion bucket id", info="Controls how much motion to add/remove from the image", value=127, minimum=1, maximum=255)
199
  noise_aug_strength = gr.Slider(label="Noise strength", info="The noise to add", value=0.1, minimum=0, maximum=1, step=0.1)
200
  decoding_t = gr.Slider(label="Decoding", info="Number of frames decoded at a time; this eats more VRAM; reduce if necessary", value=3, minimum=1, maximum=5, step=1)
201
+ video_format = gr.Radio([["*.mp4", "mp4"], ["*.avi", "avi"], ["*.webm", "webm"], ["*.ogv", "ogv"], ["*.mkv", "mkv"], ["*.mov", "mov"], ["*.flv", "flv"], ["*.wmv", "wmv"], ["*.gif", "gif"]], label="Video format for result", info="File extention", value="mp4", interactive=True)
202
  frame_format = gr.Radio([["*.webp", "webp"], ["*.png", "png"], ["*.jpeg", "jpeg"], ["*.gif (unanimated)", "gif"], ["*.bmp", "bmp"]], label="Image format for frames", info="File extention", value="webp", interactive=True)
203
+ version = gr.Radio([["Auto", "auto"], ["πŸƒπŸ»β€β™€οΈ SVD (trained on 14 f/s)", "svd"], ["πŸƒπŸ»β€β™€οΈπŸ’¨ SVD-XT (trained on 25 f/s)", "svdxt"], ["DragNUWA (unstable)", "dragnuwa"]], label="Model", info="Trained model", value="auto", interactive=True)
204
  seed = gr.Slider(label="Seed", value=42, randomize=True, minimum=0, maximum=max_64_bit_int, step=1)
205
  randomize_seed = gr.Checkbox(label="Randomize seed", value=True)
206