Spaces:
Runtime error
Runtime error
product2204
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -57,8 +57,8 @@ def image_to_video(image, audio):
|
|
57 |
# Define the Gradio interface
|
58 |
iface = gr.Interface(
|
59 |
fn=image_to_video,
|
60 |
-
inputs=[gr.
|
61 |
-
outputs=gr.
|
62 |
title="Image to Video Converter",
|
63 |
description="Converts an image and an audio file into a video."
|
64 |
)
|
|
|
57 |
# Define the Gradio interface
|
58 |
iface = gr.Interface(
|
59 |
fn=image_to_video,
|
60 |
+
inputs=[gr.Image(label="Upload Image"), gr.Audio(label="Upload Audio")],
|
61 |
+
outputs=gr.Video(label="Output Video"),
|
62 |
title="Image to Video Converter",
|
63 |
description="Converts an image and an audio file into a video."
|
64 |
)
|