Spaces:
Runtime error
Runtime error
Commit
·
8709622
1
Parent(s):
aff2539
Update app.py
Browse files
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 = ['
|
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 = ['
|
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')
|