Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def transcribe(audio_path):
|
|
38 |
# Gradio interface
|
39 |
iface = gr.Interface(
|
40 |
fn=transcribe,
|
41 |
-
inputs=gr.Audio(
|
42 |
outputs="text",
|
43 |
title="Voice to Text Converter",
|
44 |
description="Record your voice, and it will be transcribed into text using Groq API."
|
|
|
38 |
# Gradio interface
|
39 |
iface = gr.Interface(
|
40 |
fn=transcribe,
|
41 |
+
inputs=gr.Audio(type="filepath"), # Removed 'source' parameter for compatibility
|
42 |
outputs="text",
|
43 |
title="Voice to Text Converter",
|
44 |
description="Record your voice, and it will be transcribed into text using Groq API."
|