Arnaudding001 commited on
Commit
8709622
·
1 Parent(s): aff2539

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -72,7 +72,7 @@ def set_example_image(example: list) -> dict:
72
  def set_example_video(example: list) -> dict:
73
  return gr.Video.update(value=example[0]),
74
 
75
- sample_video = ['./vtoonify/data/529_2.mp4','./vtoonify/data/7154235.mp4','./vtoonify/data/651.mp4','./vtoonify/data/908.mp4']
76
  sample_vid = gr.Video(label='Video file') #for displaying the example
77
  example_videos = gr.components.Dataset(components=[sample_vid], samples=[[path] for path in sample_video], type='values', label='Video Examples')
78
 
@@ -185,7 +185,7 @@ def main():
185
  interactive=False)
186
  with gr.Row():
187
  with gr.Column():
188
- paths = ['./vtoonify/data/pexels-andrea-piacquadio-733872.jpg','./vtoonify/data/i5R8hbZFDdc.jpg','./vtoonify/data/yRpe13BHdKw.jpg','./vtoonify/data/ILip77SbmOE.jpg','./vtoonify/data/077436.jpg','./vtoonify/data/081680.jpg']
189
  example_images = gr.Dataset(components=[input_image],
190
  samples=[[path] for path in paths],
191
  label='Image Examples')
 
72
  def set_example_video(example: list) -> dict:
73
  return gr.Video.update(value=example[0]),
74
 
75
+ sample_video = ['data_529_2.mp4','data_7154235.mp4','data_651.mp4','data_908.mp4']
76
  sample_vid = gr.Video(label='Video file') #for displaying the example
77
  example_videos = gr.components.Dataset(components=[sample_vid], samples=[[path] for path in sample_video], type='values', label='Video Examples')
78
 
 
185
  interactive=False)
186
  with gr.Row():
187
  with gr.Column():
188
+ paths = ['data_pexels-andrea-piacquadio-733872.jpg','data_i5R8hbZFDdc.jpg','data_yRpe13BHdKw.jpg','data_ILip77SbmOE.jpg','data_077436.jpg','data_081680.jpg']
189
  example_images = gr.Dataset(components=[input_image],
190
  samples=[[path] for path in paths],
191
  label='Image Examples')