marquesafonso commited on
Commit
b3e87b5
·
1 Parent(s): 1dc0f0f
Files changed (1) hide show
  1. app.py +2 -2
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(source="upload", type="file"),
46
- outputs=gr.Video(type="file"),
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