sab commited on
Commit
ace3238
1 Parent(s): 549018e

config file

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -37,9 +37,9 @@ def generate_video(prompt, num_frames=84, fps=30):
37
  interface = gr.Interface(
38
  fn=generate_video,
39
  inputs=[
40
- gr.inputs.Textbox(lines=2, placeholder="Enter your text prompt here... 💡"),
41
- gr.inputs.Slider(minimum=1, maximum=240, default=84, label="Number of frames 🎞️"),
42
- gr.inputs.Slider(minimum=1, maximum=60, default=30, label="FPS (Frames per second) ⏱️")
43
  ],
44
  outputs=gr.outputs.Video(),
45
  title=cfg.TITLE,
 
37
  interface = gr.Interface(
38
  fn=generate_video,
39
  inputs=[
40
+ gr.Textbox(lines=2, placeholder="Enter your text prompt here... 💡"),
41
+ gr.Slider(minimum=1, maximum=240, value=84, label="Number of frames 🎞️"),
42
+ gr.Slider(minimum=1, maximum=60, value=30, label="FPS (Frames per second) ⏱️")
43
  ],
44
  outputs=gr.outputs.Video(),
45
  title=cfg.TITLE,