Commit
·
b3e87b5
1
Parent(s):
1dc0f0f
fix typo
Browse files
app.py
CHANGED
@@ -42,8 +42,8 @@ def extract_waveform_animation(audio_file):
|
|
42 |
# Define the Gradio interface
|
43 |
iface = gr.Interface(
|
44 |
fn=extract_waveform_animation,
|
45 |
-
inputs=gr.Audio(
|
46 |
-
outputs=gr.Video(
|
47 |
description="Upload an audio file to extract a video animation from its waveform."
|
48 |
)
|
49 |
|
|
|
42 |
# Define the Gradio interface
|
43 |
iface = gr.Interface(
|
44 |
fn=extract_waveform_animation,
|
45 |
+
inputs=gr.Audio(type="filepath"),
|
46 |
+
outputs=gr.Video(),
|
47 |
description="Upload an audio file to extract a video animation from its waveform."
|
48 |
)
|
49 |
|