yijin928 commited on
Commit
19807db
·
verified ·
1 Parent(s): 277dff6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -314,11 +314,11 @@ if __name__ == "__main__":
314
 
315
  with gr.Blocks() as app:
316
  with gr.Row():
317
- positive_prompt = gr.Textbox(label="Positive Prompt", value="", lines=2)
318
  with gr.Row():
319
  num_frames = gr.Number(label="Number of Frames", value=60)
320
  with gr.Row():
321
- input_image = gr.Image(label="Input Image", type="pil")
322
  submit = gr.Button("Submit")
323
  output_video = gr.Video(label="Output Video")
324
 
 
314
 
315
  with gr.Blocks() as app:
316
  with gr.Row():
317
+ positive_prompt = gr.Textbox(label="Positive Prompt", lines=2)
318
  with gr.Row():
319
  num_frames = gr.Number(label="Number of Frames", value=60)
320
  with gr.Row():
321
+ input_image = gr.Image(label="Input Image", type="filepath")
322
  submit = gr.Button("Submit")
323
  output_video = gr.Video(label="Output Video")
324