Walid-Ahmed commited on
Commit
241d86b
·
verified ·
1 Parent(s): b405478

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def transcribe_and_summarize(audio):
30
 
31
  # Create the Gradio interface
32
  demo = gr.Interface(
33
- fn=transcribe, # The function to be called for transcription
34
  inputs=gr.Audio(type="filepath", label="Upload your audio file"), # Input audio field
35
  outputs=gr.Textbox(label="Transcription"), # Output transcription
36
  title="Whisper Speech-to-Text", # Title of the interface
 
30
 
31
  # Create the Gradio interface
32
  demo = gr.Interface(
33
+ fn=transcribe_and_summarize, # The function to be called for transcription
34
  inputs=gr.Audio(type="filepath", label="Upload your audio file"), # Input audio field
35
  outputs=gr.Textbox(label="Transcription"), # Output transcription
36
  title="Whisper Speech-to-Text", # Title of the interface