freealise commited on
Commit
c39bb40
·
verified ·
1 Parent(s): e3b4cd4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -149,7 +149,7 @@ title="""
149
  </div>
150
  <p> This space uses FILM to generate interpolation frames in a video you need to 'tween'.<br />
151
  Generation is limited to 15 seconds, from the beginning of your video input.<br />
152
- <a style="display:inline-block" href="https://huggingface.co/spaces/fffiloni/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>
153
  </p>
154
  </div>
155
  """
@@ -159,7 +159,8 @@ with gr.Blocks() as demo:
159
  gr.HTML(title)
160
  with gr.Row():
161
  with gr.Column():
162
- video_input = gr.Video(source="upload", type="filepath")
 
163
  with gr.Row():
164
  interpolation = gr.Slider(minimum=1,maximum=4,step=1, value=1, label="Interpolation Steps")
165
  fps_output = gr.Radio([8, 12, 24], label="FPS output", value=8)
 
149
  </div>
150
  <p> This space uses FILM to generate interpolation frames in a video you need to 'tween'.<br />
151
  Generation is limited to 15 seconds, from the beginning of your video input.<br />
152
+ <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>
153
  </p>
154
  </div>
155
  """
 
159
  gr.HTML(title)
160
  with gr.Row():
161
  with gr.Column():
162
+ #video_input = gr.Video(source="upload", type="filepath")
163
+ video_input = gr.Textbox(value="./examples/no_framerate.mp4")
164
  with gr.Row():
165
  interpolation = gr.Slider(minimum=1,maximum=4,step=1, value=1, label="Interpolation Steps")
166
  fps_output = gr.Radio([8, 12, 24], label="FPS output", value=8)