Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ import os
|
|
| 8 |
|
| 9 |
# 1. Speech-to-Text pipeline
|
| 10 |
print("Loading ASR model...")
|
| 11 |
-
speech_to_text_pipeline = pipeline("automatic-speech-recognition", model="openai/whisper-small") #model="facebook/wav2vec2-base-960h"
|
| 12 |
|
| 13 |
# 2. Text generation model (GPT2)
|
| 14 |
print("Loading GPT-2 model...")
|
|
|
|
| 8 |
|
| 9 |
# 1. Speech-to-Text pipeline
|
| 10 |
print("Loading ASR model...")
|
| 11 |
+
speech_to_text_pipeline = pipeline("automatic-speech-recognition", model="facebook/wav2vec2-base-960h") #model="openai/whisper-small") #model="facebook/wav2vec2-base-960h"
|
| 12 |
|
| 13 |
# 2. Text generation model (GPT2)
|
| 14 |
print("Loading GPT-2 model...")
|