Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import soundfile as sf
|
|
9 |
transcriber = pipeline("automatic-speech-recognition", model="facebook/s2t-small-librispeech-asr")
|
10 |
|
11 |
# Initialize LLM pipeline
|
12 |
-
generator = pipeline("text-generation", model="
|
13 |
|
14 |
# Initialize TTS tokenizer and model
|
15 |
tokenizer_tts = VitsTokenizer.from_pretrained("facebook/mms-tts-eng")
|
|
|
9 |
transcriber = pipeline("automatic-speech-recognition", model="facebook/s2t-small-librispeech-asr")
|
10 |
|
11 |
# Initialize LLM pipeline
|
12 |
+
generator = pipeline("text-generation", model="gpt2")
|
13 |
|
14 |
# Initialize TTS tokenizer and model
|
15 |
tokenizer_tts = VitsTokenizer.from_pretrained("facebook/mms-tts-eng")
|