Spaces:
Running
on
Zero
Running
on
Zero
This PR automatically plays the video
Browse filesIt helps to understand how the space works.
Click on _Merge_ to add this feature.
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)
|