Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -1,12 +1,13 @@
|
|
1 |
import gradio as gr
|
2 |
import subprocess
|
|
|
3 |
|
4 |
def greet(name, image):
|
5 |
# Specify the path to the run.py script
|
6 |
script_path = "run.py"
|
7 |
|
8 |
# Specify the paths for the image, video, and output
|
9 |
-
image_path = ""
|
10 |
video_path = "video.mp4"
|
11 |
output_path = "/path/to/output.mp4"
|
12 |
|
|
|
1 |
import gradio as gr
|
2 |
import subprocess
|
3 |
+
import os
|
4 |
|
5 |
def greet(name, image):
|
6 |
# Specify the path to the run.py script
|
7 |
script_path = "run.py"
|
8 |
|
9 |
# Specify the paths for the image, video, and output
|
10 |
+
image_path = "uploaded_image.jpg"
|
11 |
video_path = "video.mp4"
|
12 |
output_path = "/path/to/output.mp4"
|
13 |
|