Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -206,10 +206,10 @@ if __name__ == '__main__':
|
|
| 206 |
ToTensor(),
|
| 207 |
Normalize()]
|
| 208 |
|
| 209 |
-
examples = [[vid, ref] for vid, ref in zip(sorted(glob.glob('examples/*/*.mp4')), sorted(glob.glob('examples/*/*.jpg')))]
|
| 210 |
demo = gr.Interface(colorize_video,
|
| 211 |
inputs=[gr.Video(), gr.Image()],
|
| 212 |
-
outputs="playable_video"
|
| 213 |
-
examples=examples,
|
| 214 |
-
cache_examples=True)
|
| 215 |
demo.launch()
|
|
|
|
| 206 |
ToTensor(),
|
| 207 |
Normalize()]
|
| 208 |
|
| 209 |
+
#examples = [[vid, ref] for vid, ref in zip(sorted(glob.glob('examples/*/*.mp4')), sorted(glob.glob('examples/*/*.jpg')))]
|
| 210 |
demo = gr.Interface(colorize_video,
|
| 211 |
inputs=[gr.Video(), gr.Image()],
|
| 212 |
+
outputs="playable_video")#,
|
| 213 |
+
#examples=examples,
|
| 214 |
+
#cache_examples=True)
|
| 215 |
demo.launch()
|