freealise commited on
Commit
777862c
1 Parent(s): 7d5ea47

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -365,7 +365,7 @@ with gr.Blocks(css=css) as demo:
365
  input_url = gr.Textbox(value="./examples/streetview.mp4", label="URL")
366
  input_video = gr.Video(label="Input Video", format="mp4")
367
  input_url.change(fn=loadurl, inputs=[input_url], outputs=[input_video])
368
- output_frame = gr.Gallery(label="Frames", type='numpy', preview=True, rows=2, columns=0)
369
  output_mask = gr.ImageEditor(interactive=True, transforms=(None,), eraser=gr.Eraser(), brush=gr.Brush(colors=['black', 'darkgray', 'gray', 'lightgray', 'white']), layers=True)
370
  submit = gr.Button("Submit")
371
  with gr.Column():
 
365
  input_url = gr.Textbox(value="./examples/streetview.mp4", label="URL")
366
  input_video = gr.Video(label="Input Video", format="mp4")
367
  input_url.change(fn=loadurl, inputs=[input_url], outputs=[input_video])
368
+ output_frame = gr.Gallery(label="Frames", type='numpy', preview=True, rows=2, columns=6)
369
  output_mask = gr.ImageEditor(interactive=True, transforms=(None,), eraser=gr.Eraser(), brush=gr.Brush(colors=['black', 'darkgray', 'gray', 'lightgray', 'white']), layers=True)
370
  submit = gr.Button("Submit")
371
  with gr.Column():