Changing where files are found.
Browse files
app.py
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
|
4 |
-
a =
|
5 |
-
b =
|
6 |
-
w1 =
|
7 |
-
w2 =
|
8 |
|
9 |
def generate_video(original_video, watermark_file):
|
10 |
return gr.Video(a, watermark_file=watermark_file)
|
|
|
1 |
import gradio as gr
|
2 |
import os
|
3 |
|
4 |
+
a = "demos/video_component/files/a.mp4" # Video
|
5 |
+
b = "demos/video_component/files/b.mp4" # Video
|
6 |
+
w1 = "demos/video_component/files/w1.jpg" # Watermark
|
7 |
+
w2 = "demos/video_component/files/w2.png" # Watermark
|
8 |
|
9 |
def generate_video(original_video, watermark_file):
|
10 |
return gr.Video(a, watermark_file=watermark_file)
|