Ivan000 commited on
Commit
2acd67b
·
verified ·
1 Parent(s): 2af2898

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -47,8 +47,8 @@ def transcribe_audio(audio_file):
47
  # Define the Gradio interface
48
  iface = gr.Interface(
49
  fn=transcribe_audio,
50
- inputs=gr.Audio(source="upload", type="filepath"),
51
- outputs=gr.Textbox(),
52
  title="Whisper ASR Demo",
53
  description="Upload an audio file and get the transcribed text using the openai/whisper-large-v3-turbo model.",
54
  )
 
47
  # Define the Gradio interface
48
  iface = gr.Interface(
49
  fn=transcribe_audio,
50
+ inputs=gr.Audio(label="Upload Audio", type="filepath"),
51
+ outputs=gr.Textbox(label="Transcription"),
52
  title="Whisper ASR Demo",
53
  description="Upload an audio file and get the transcribed text using the openai/whisper-large-v3-turbo model.",
54
  )