Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,6 @@
|
|
2 |
|
3 |
# gr.load("models/openai/whisper-large-v3-turbo").launch()
|
4 |
|
5 |
-
|
6 |
import gradio as gr
|
7 |
|
8 |
# Define a function to process the output and extract only the transcription text
|
@@ -18,6 +17,5 @@ def process_transcription(audio_input):
|
|
18 |
gr.Interface(
|
19 |
fn=process_transcription,
|
20 |
inputs="audio",
|
21 |
-
outputs="text"
|
22 |
-
live=True,
|
23 |
).launch()
|
|
|
2 |
|
3 |
# gr.load("models/openai/whisper-large-v3-turbo").launch()
|
4 |
|
|
|
5 |
import gradio as gr
|
6 |
|
7 |
# Define a function to process the output and extract only the transcription text
|
|
|
17 |
gr.Interface(
|
18 |
fn=process_transcription,
|
19 |
inputs="audio",
|
20 |
+
outputs="text"
|
|
|
21 |
).launch()
|