Update app.py
Browse files
app.py
CHANGED
@@ -80,9 +80,9 @@ def combine_audio_video(audio_file, video_file):
|
|
80 |
return output_file
|
81 |
|
82 |
# Gradio interface
|
83 |
-
def interface(
|
84 |
-
# Convert the uploaded image to a PIL Image
|
85 |
-
image = Image.open(
|
86 |
|
87 |
# Generate video and track progress
|
88 |
video_file = generate_video(image, prompt, negative_prompt, video_length)
|
|
|
80 |
return output_file
|
81 |
|
82 |
# Gradio interface
|
83 |
+
def interface(image_path, prompt, negative_prompt, video_length, music_prompt, unconditional):
|
84 |
+
# Convert the uploaded image path to a PIL Image
|
85 |
+
image = Image.open(image_path)
|
86 |
|
87 |
# Generate video and track progress
|
88 |
video_file = generate_video(image, prompt, negative_prompt, video_length)
|