hackergeek98 commited on
Commit
325ad4c
·
verified ·
1 Parent(s): 2880a4d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def transcribe_audio(audio):
30
  # Create the Gradio interface
31
  interface = gr.Interface(
32
  fn=transcribe_audio, # Function to call
33
- inputs=gr.Audio(source="upload", type="numpy"), # Input: Upload audio file
34
  outputs=gr.Textbox(label="Transcription"), # Output: Display transcription
35
  title="Whisper ASR: Tinyyyy Model",
36
  description="Upload an audio file, and the fine-tuned Whisper model will transcribe it.",
 
30
  # Create the Gradio interface
31
  interface = gr.Interface(
32
  fn=transcribe_audio, # Function to call
33
+ inputs=gr.Audio(type="numpy"), # Input: Upload audio file
34
  outputs=gr.Textbox(label="Transcription"), # Output: Display transcription
35
  title="Whisper ASR: Tinyyyy Model",
36
  description="Upload an audio file, and the fine-tuned Whisper model will transcribe it.",