Spaces:
Runtime error
Runtime error
Commit
·
a03be25
1
Parent(s):
0d4fb28
Update app.py
Browse files
app.py
CHANGED
|
@@ -73,7 +73,7 @@ def set_example_image(example: list) -> dict:
|
|
| 73 |
def set_example_video(example: list) -> dict:
|
| 74 |
return gr.Video.update(value=example[0]),
|
| 75 |
|
| 76 |
-
sample_video = ['./vtoonify/data/
|
| 77 |
sample_vid = gr.Video(label='Video file') #for displaying the example
|
| 78 |
example_videos = gr.components.Dataset(components=[sample_vid], samples=[[path] for path in sample_video], type='values', label='Video Examples')
|
| 79 |
|
|
|
|
| 73 |
def set_example_video(example: list) -> dict:
|
| 74 |
return gr.Video.update(value=example[0]),
|
| 75 |
|
| 76 |
+
sample_video = ['./vtoonify/data/529_2.mp4','./vtoonify/data/7154235.mp4','./vtoonify/data/651.mp4','./vtoonify/data/908.mp4']
|
| 77 |
sample_vid = gr.Video(label='Video file') #for displaying the example
|
| 78 |
example_videos = gr.components.Dataset(components=[sample_vid], samples=[[path] for path in sample_video], type='values', label='Video Examples')
|
| 79 |
|