freealise commited on
Commit
0c717ac
·
verified ·
1 Parent(s): a68573a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -276,7 +276,7 @@ with gr.Blocks() as demo:
276
  with gr.Accordion(label="Upload files here", open=True):
277
  files_input = gr.File(file_count="multiple", file_types=['image', '.mp4'])
278
  gallery_input = gr.Gallery(label="Slideshow", preview=True, columns=8192, interactive=False)
279
- files_input.change(fn=loadf, inputs=[files_input], outputs=[files_input, gallery_input])
280
  with gr.Row():
281
  interpolation_slider = gr.Slider(minimum=1, maximum=5, step=1, value=1, label="Interpolation Steps: ")
282
  interpolation = gr.Number(value=1, show_label=False, interactive=False)
 
276
  with gr.Accordion(label="Upload files here", open=True):
277
  files_input = gr.File(file_count="multiple", file_types=['image', '.mp4'])
278
  gallery_input = gr.Gallery(label="Slideshow", preview=True, columns=8192, interactive=False)
279
+ files_input.input(fn=loadf, inputs=[files_input], outputs=[files_input, gallery_input])
280
  with gr.Row():
281
  interpolation_slider = gr.Slider(minimum=1, maximum=5, step=1, value=1, label="Interpolation Steps: ")
282
  interpolation = gr.Number(value=1, show_label=False, interactive=False)