Spaces:
Runtime error
Runtime error
xinyuanc91
commited on
Commit
β’
c561c81
1
Parent(s):
58840c0
Update app.py
Browse files
app.py
CHANGED
@@ -122,13 +122,13 @@ with gr.Blocks(css='style.css') as demo:
|
|
122 |
submit_btn = gr.Button("Generate video")
|
123 |
# clean_btn = gr.Button("Clean video")
|
124 |
|
125 |
-
video_out = gr.Video(label="Video result", elem_id="video-output", width =
|
126 |
inputs = [prompt,image_inp, seed_inp, sampling_steps,width,height,infer_type]
|
127 |
outputs = [video_out]
|
128 |
ex = gr.Examples(
|
129 |
-
examples = [["./input/i2v/
|
130 |
-
["./input/i2v/
|
131 |
-
["./input/i2v/
|
132 |
fn = infer,
|
133 |
inputs = [image_inp, prompt, seed_inp, sampling_steps,width,height,infer_type],
|
134 |
outputs=[video_out],
|
|
|
122 |
submit_btn = gr.Button("Generate video")
|
123 |
# clean_btn = gr.Button("Clean video")
|
124 |
|
125 |
+
video_out = gr.Video(label="Video result", elem_id="video-output", width = 750)
|
126 |
inputs = [prompt,image_inp, seed_inp, sampling_steps,width,height,infer_type]
|
127 |
outputs = [video_out]
|
128 |
ex = gr.Examples(
|
129 |
+
examples = [["./input/i2v/The_picture_shows_the_beauty_of_the_sea.png","A video of the beauty of the sea",14717,250,560,240,'ddim'],
|
130 |
+
["./input/i2v/Close-up_essence_is_poured_from_bottleKodak_Vision.png","A video of close-up essence is poured from bottleKodak Vision",178135313,250,560,240,'ddim'],
|
131 |
+
["./input/i2v/The_picture_shows_the_beauty_of_the_sea_and_at_the_same.png","A video of the beauty of the sea",123,250,560,240,'ddim']],
|
132 |
fn = infer,
|
133 |
inputs = [image_inp, prompt, seed_inp, sampling_steps,width,height,infer_type],
|
134 |
outputs=[video_out],
|