arshadrana commited on
Commit
3cb49c8
·
verified ·
1 Parent(s): a78e93c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(source="microphone", type="filepath"),
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."