freealise commited on
Commit
932dac6
·
verified ·
1 Parent(s): 84de2ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -169,7 +169,7 @@ title="""
169
  </h1>
170
 
171
  </div>
172
- <p> This space uses FILM to generate interpolation frames in a set of image files you need to turn into a video.<br />
173
  Generation is limited to 300 uploaded frames, from the beginning of your input.<br />
174
  <a style="display:inline-block" href="https://huggingface.co/spaces/freealise/video_frame_interpolation?duplicate=true"><img src="https://img.shields.io/badge/-Duplicate%20Space-blue?labelColor=white&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14" alt="Duplicate Space"></a>
175
  </p>
@@ -181,8 +181,9 @@ with gr.Blocks() as demo:
181
  gr.HTML(title)
182
  with gr.Row():
183
  with gr.Column():
184
- files_input = gr.File(file_count="multiple", file_types=['image'])
185
- gallery_input = gr.Gallery(label="Slides", preview=True, columns=8192, interactive=False)
 
186
  files_input.change(fn=loadf, inputs=[files_input], outputs=[files_input, gallery_input])
187
  with gr.Row():
188
  interpolation_slider = gr.Slider(minimum=1, maximum=5, step=1, value=1, label="Interpolation Steps: ")
 
169
  </h1>
170
 
171
  </div>
172
+ <p> This space uses FILM to generate interpolation frames in a set of image files you need to turn into a video.
173
  Generation is limited to 300 uploaded frames, from the beginning of your input.<br />
174
  <a style="display:inline-block" href="https://huggingface.co/spaces/freealise/video_frame_interpolation?duplicate=true"><img src="https://img.shields.io/badge/-Duplicate%20Space-blue?labelColor=white&style=flat&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAP5JREFUOE+lk7FqAkEURY+ltunEgFXS2sZGIbXfEPdLlnxJyDdYB62sbbUKpLbVNhyYFzbrrA74YJlh9r079973psed0cvUD4A+4HoCjsA85X0Dfn/RBLBgBDxnQPfAEJgBY+A9gALA4tcbamSzS4xq4FOQAJgCDwV2CPKV8tZAJcAjMMkUe1vX+U+SMhfAJEHasQIWmXNN3abzDwHUrgcRGmYcgKe0bxrblHEB4E/pndMazNpSZGcsZdBlYJcEL9Afo75molJyM2FxmPgmgPqlWNLGfwZGG6UiyEvLzHYDmoPkDDiNm9JR9uboiONcBXrpY1qmgs21x1QwyZcpvxt9NS09PlsPAAAAAElFTkSuQmCC&logoWidth=14" alt="Duplicate Space"></a>
175
  </p>
 
181
  gr.HTML(title)
182
  with gr.Row():
183
  with gr.Column():
184
+ with gr.Accordion(label="Upload files here", open=True):
185
+ files_input = gr.File(file_count="multiple", file_types=['image'])
186
+ gallery_input = gr.Gallery(label="Slideshow", preview=True, columns=8192, interactive=False)
187
  files_input.change(fn=loadf, inputs=[files_input], outputs=[files_input, gallery_input])
188
  with gr.Row():
189
  interpolation_slider = gr.Slider(minimum=1, maximum=5, step=1, value=1, label="Interpolation Steps: ")