Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -21,10 +21,10 @@ def create_video(image, audio):
|
|
21 |
iface = gr.Interface(
|
22 |
fn=create_video,
|
23 |
inputs=[
|
24 |
-
gr.
|
25 |
-
gr.
|
26 |
],
|
27 |
-
outputs=gr.
|
28 |
title="Image + Audio to Video Converter",
|
29 |
description="Upload an image and an audio file to generate a video with the image and audio combined."
|
30 |
)
|
|
|
21 |
iface = gr.Interface(
|
22 |
fn=create_video,
|
23 |
inputs=[
|
24 |
+
gr.Image(type="file", label="Upload Image"),
|
25 |
+
gr.Audio(type="file", label="Upload Audio")
|
26 |
],
|
27 |
+
outputs=gr.Video(label="Output Video"),
|
28 |
title="Image + Audio to Video Converter",
|
29 |
description="Upload an image and an audio file to generate a video with the image and audio combined."
|
30 |
)
|