Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from gtts import gTTS
|
|
6 |
pipe = pipeline(model="openai/whisper-small")
|
7 |
|
8 |
# Load the text generation model
|
9 |
-
text_pipe = pipeline("
|
10 |
|
11 |
def transcribe(audio):
|
12 |
# Transcribe the audio to text
|
|
|
6 |
pipe = pipeline(model="openai/whisper-small")
|
7 |
|
8 |
# Load the text generation model
|
9 |
+
text_pipe = pipeline("text2text-generation", model="google/flan-t5-base")
|
10 |
|
11 |
def transcribe(audio):
|
12 |
# Transcribe the audio to text
|