Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def transcribe_and_summarize(audio):
|
|
30 |
|
31 |
# Create the Gradio interface
|
32 |
demo = gr.Interface(
|
33 |
-
fn=
|
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
|