mrcuddle commited on
Commit
0301faf
·
verified ·
1 Parent(s): d8769ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -22,9 +22,9 @@ with gr.Blocks() as demo:
22
  with gr.Column():
23
  image_input = gr.Image(type="pil", label="Upload Image")
24
  prompt_input = gr.Textbox(lines=2, placeholder="Enter prompt...", label="Prompt")
25
- num_frames_input = gr.Slider(1, 50, step=1, default=25, label="Number of Frames")
26
- height_input = gr.Number(label="Resolution Height", default=576)
27
- width_input = gr.Number(label="Resolution Width", default=1024)
28
  run_button = gr.Button("Generate Video")
29
  with gr.Column():
30
  video_output = gr.Video(label="Generated Video")
@@ -37,4 +37,5 @@ with gr.Blocks() as demo:
37
 
38
  # Launch the interface
39
  if __name__ == "__main__":
40
- demo.launch()
 
 
22
  with gr.Column():
23
  image_input = gr.Image(type="pil", label="Upload Image")
24
  prompt_input = gr.Textbox(lines=2, placeholder="Enter prompt...", label="Prompt")
25
+ num_frames_input = gr.Slider(1, 50, step=1, value=25, label="Number of Frames")
26
+ height_input = gr.Number(label="Resolution Height", value=576)
27
+ width_input = gr.Number(label="Resolution Width", value=1024)
28
  run_button = gr.Button("Generate Video")
29
  with gr.Column():
30
  video_output = gr.Video(label="Generated Video")
 
37
 
38
  # Launch the interface
39
  if __name__ == "__main__":
40
+ demo.launch()
41
+