Commit
·
6ec9b2f
1
Parent(s):
4cc54d7
fix audio component
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def extract_waveform_animation(audio_file, duration):
|
|
43 |
iface = gr.Interface(
|
44 |
fn=extract_waveform_animation,
|
45 |
inputs=[
|
46 |
-
gr.Audio(
|
47 |
gr.Number(label="Duration (seconds)", value=5)
|
48 |
],
|
49 |
outputs=gr.Image(type="file", format="gif"),
|
|
|
43 |
iface = gr.Interface(
|
44 |
fn=extract_waveform_animation,
|
45 |
inputs=[
|
46 |
+
gr.Audio(type="filepath"),
|
47 |
gr.Number(label="Duration (seconds)", value=5)
|
48 |
],
|
49 |
outputs=gr.Image(type="file", format="gif"),
|