Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -80,7 +80,7 @@ def process_audio(audio_file):
|
|
| 80 |
|
| 81 |
# Set up Gradio interface
|
| 82 |
iface = gr.Interface(fn=process_audio,
|
| 83 |
-
inputs=gr.Audio(type="
|
| 84 |
outputs=gr.Image(type="url"),
|
| 85 |
live=True,
|
| 86 |
title="Speech-to-Text to Image Generator")
|
|
|
|
| 80 |
|
| 81 |
# Set up Gradio interface
|
| 82 |
iface = gr.Interface(fn=process_audio,
|
| 83 |
+
inputs=gr.Audio(type="filepath"), # Changed to 'filepath' for Gradio 3.x
|
| 84 |
outputs=gr.Image(type="url"),
|
| 85 |
live=True,
|
| 86 |
title="Speech-to-Text to Image Generator")
|