Spaces:
Sleeping
Sleeping
divakaivan
commited on
Commit
•
0c8fcbe
1
Parent(s):
abc0ae6
Update app.py
Browse files
app.py
CHANGED
@@ -10,6 +10,7 @@ from openai import OpenAI
|
|
10 |
# Load ASR model
|
11 |
asr_pipe = pipeline(model="divakaivan/glaswegian-asr")
|
12 |
|
|
|
13 |
# Load TTS components
|
14 |
processor = SpeechT5Processor.from_pretrained("microsoft/speecht5_tts")
|
15 |
tts_model = SpeechT5ForTextToSpeech.from_pretrained("divakaivan/glaswegian_tts")
|
|
|
10 |
# Load ASR model
|
11 |
asr_pipe = pipeline(model="divakaivan/glaswegian-asr")
|
12 |
|
13 |
+
|
14 |
# Load TTS components
|
15 |
processor = SpeechT5Processor.from_pretrained("microsoft/speecht5_tts")
|
16 |
tts_model = SpeechT5ForTextToSpeech.from_pretrained("divakaivan/glaswegian_tts")
|