fffiloni commited on
Commit
4b109d4
1 Parent(s): 7a6bc70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -62,13 +62,13 @@ with gr.Blocks(css='style.css') as demo:
62
  with gr.Column(elem_id="col-container"):
63
  with gr.Row():
64
  with gr.Column():
65
- prompt = gr.Textbox(placeholder="enter prompt")
66
  video_inp = gr.Video(label="Video source", source="upload", type="filepath")
67
 
68
  with gr.Column():
69
  with gr.Row():
70
- seed_inp = gr.Number(label="Seed", value=123456)
71
- trim_in = gr.Slider(minimun=2, maximum=10, step=1, value=2)
72
  video_out = gr.Video(label="Pix2pix video result")
73
  submit_btn = gr.Button("Generate Pix2Pix video")
74
 
 
62
  with gr.Column(elem_id="col-container"):
63
  with gr.Row():
64
  with gr.Column():
65
+ prompt = gr.Textbox(placeholder="enter prompt", show_label=False)
66
  video_inp = gr.Video(label="Video source", source="upload", type="filepath")
67
 
68
  with gr.Column():
69
  with gr.Row():
70
+ seed_inp = gr.Slider(minimum=0, maximum=10000, step=1, value=123456)
71
+ trim_in = gr.Slider(label="video max duration (seconds)", minimun=2, maximum=10, step=1, value=2)
72
  video_out = gr.Video(label="Pix2pix video result")
73
  submit_btn = gr.Button("Generate Pix2Pix video")
74