Spaces:
Runtime error
Runtime error
remove examples
Browse files
app.py
CHANGED
@@ -61,11 +61,6 @@ with gr.Blocks(css=css) as demo:
|
|
61 |
|
62 |
submit.click(process_video, inputs=[input_video, input_texts], outputs=processed_video)
|
63 |
|
64 |
-
example_files = os.listdir('assets/examples_video')
|
65 |
-
example_files.sort()
|
66 |
-
example_files = [os.path.join('assets/examples_video', filename) for filename in example_files]
|
67 |
-
examples = gr.Examples(examples=example_files, inputs=[input_video, input_texts], outputs=processed_video, fn=process_video, cache_examples=True)
|
68 |
-
|
69 |
if __name__ == '__main__':
|
70 |
demo.queue().launch()
|
71 |
|
|
|
61 |
|
62 |
submit.click(process_video, inputs=[input_video, input_texts], outputs=processed_video)
|
63 |
|
|
|
|
|
|
|
|
|
|
|
64 |
if __name__ == '__main__':
|
65 |
demo.queue().launch()
|
66 |
|