Fabrice-TIERCELIN commited on
Commit
ff49ea7
·
verified ·
1 Parent(s): 35e1189

This PR automatically plays the video

Browse files

It helps to understand how the space works.

Click on _Merge_ to add this feature.

Files changed (1) hide show
  1. app.py +2 -2
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>&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;&nbsp;&nbsp;&nbsp;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)