Spaces:
Running
on
Zero
Running
on
Zero
This PR automatically plays the video
#2
by
Fabrice-TIERCELIN
- opened
app.py
CHANGED
@@ -380,10 +380,10 @@ with gr.Blocks() as demo:
|
|
380 |
"β¨In this demo, we use [RIFE](https://github.com/hzwer/ECCV2022-RIFE) for frame interpolation and [Real-ESRGAN](https://github.com/xinntao/Real-ESRGAN) for upscaling(Super-Resolution).<br> The entire process is based on open-source solutions."
|
381 |
)
|
382 |
|
383 |
-
generate_button = gr.Button("π¬ Generate Video")
|
384 |
|
385 |
with gr.Column():
|
386 |
-
video_output = gr.Video(label="CogVideoX Generate Video", width=720, height=480)
|
387 |
with gr.Row():
|
388 |
download_video_button = gr.File(label="π₯ Download Video", visible=False)
|
389 |
download_gif_button = gr.File(label="π₯ Download GIF", visible=False)
|
|
|
380 |
"β¨In this demo, we use [RIFE](https://github.com/hzwer/ECCV2022-RIFE) for frame interpolation and [Real-ESRGAN](https://github.com/xinntao/Real-ESRGAN) for upscaling(Super-Resolution).<br> The entire process is based on open-source solutions."
|
381 |
)
|
382 |
|
383 |
+
generate_button = gr.Button(value="π¬ Generate Video", variant='primary')
|
384 |
|
385 |
with gr.Column():
|
386 |
+
video_output = gr.Video(label="CogVideoX Generate Video", width=720, height=480, autoplay=True)
|
387 |
with gr.Row():
|
388 |
download_video_button = gr.File(label="π₯ Download Video", visible=False)
|
389 |
download_gif_button = gr.File(label="π₯ Download GIF", visible=False)
|