Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,7 +55,7 @@ def process_audio(audio):
|
|
| 55 |
# Create the Gradio interface
|
| 56 |
iface = gr.Interface(
|
| 57 |
fn=process_audio,
|
| 58 |
-
inputs=gr.Audio(
|
| 59 |
outputs=gr.Video(label="Generated Video"),
|
| 60 |
title="Audio Frequency Visualization",
|
| 61 |
description="Upload an audio file to generate a video with frequency visualization."
|
|
|
|
| 55 |
# Create the Gradio interface
|
| 56 |
iface = gr.Interface(
|
| 57 |
fn=process_audio,
|
| 58 |
+
inputs=gr.Audio(type="filepath"),
|
| 59 |
outputs=gr.Video(label="Generated Video"),
|
| 60 |
title="Audio Frequency Visualization",
|
| 61 |
description="Upload an audio file to generate a video with frequency visualization."
|