fffiloni commited on
Commit
58c884a
·
verified ·
1 Parent(s): 2a39288

Update gradio_app.py

Browse files
Files changed (1) hide show
  1. gradio_app.py +7 -7
gradio_app.py CHANGED
@@ -151,17 +151,17 @@ with gr.Blocks() as demo:
151
  """)
152
  with gr.Row():
153
  with gr.Column():
154
- image_input1 = gr.Image(type="filepath")
155
- image_input2 = gr.Image(type="filepath")
156
  submit_btn = gr.Button("Submit")
157
  with gr.Column():
158
- output = gr.Video()
159
  gr.Examples(
160
  examples = [
161
- [".examples/example_001/frame1.png", "examples/example_001/frame2.png"],
162
- [".examples/example_002/frame1.png", "examples/example_002/frame2.png"],
163
- [".examples/example_003/frame1.png", "examples/example_003/frame2.png"],
164
- [".examples/example_004/frame1.png", "examples/example_004/frame2.png"]
165
  ],
166
  inputs = [image_input1, image_input2]
167
  )
 
151
  """)
152
  with gr.Row():
153
  with gr.Column():
154
+ image_input1 = gr.Image(label="FRAME 1", type="filepath")
155
+ image_input2 = gr.Image(label="FRAME 2", type="filepath")
156
  submit_btn = gr.Button("Submit")
157
  with gr.Column():
158
+ output = gr.Video(label="Interpolated result")
159
  gr.Examples(
160
  examples = [
161
+ ["examples/example_001/frame1.png", "examples/example_001/frame2.png"],
162
+ ["examples/example_002/frame1.png", "examples/example_002/frame2.png"],
163
+ ["examples/example_003/frame1.png", "examples/example_003/frame2.png"],
164
+ ["examples/example_004/frame1.png", "examples/example_004/frame2.png"]
165
  ],
166
  inputs = [image_input1, image_input2]
167
  )