pritamdeka commited on
Commit
b25a472
·
verified ·
1 Parent(s): 8c8114a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ iface = gr.Interface(
16
  fn=transcribe_audio, # The function that will process the audio and model choice
17
  inputs=[
18
  gr.Dropdown(label="Choose Whisper Model", choices=["tiny", "base", "small", "medium", "large"], value="base"), # Model selection
19
- gr.Audio(source="upload", type="filepath") # Audio upload input
20
  ],
21
  outputs="text", # Output transcription as text
22
  title="Whisper Audio Transcription",
 
16
  fn=transcribe_audio, # The function that will process the audio and model choice
17
  inputs=[
18
  gr.Dropdown(label="Choose Whisper Model", choices=["tiny", "base", "small", "medium", "large"], value="base"), # Model selection
19
+ gr.Audio(type="filepath") # Audio upload input (removed 'source')
20
  ],
21
  outputs="text", # Output transcription as text
22
  title="Whisper Audio Transcription",