Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -152,14 +152,7 @@ def get_transcribe_state(segments):
|
|
152 |
|
153 |
@spaces.GPU(duration=60)
|
154 |
def transcribe(seed, audio_path):
|
155 |
-
|
156 |
-
aligner = WhisperxAlignModel()
|
157 |
-
|
158 |
-
# then load the ASR+alignment combo
|
159 |
-
transcribe_model = WhisperxModel(
|
160 |
-
model_name="large-v3-turbo", # or "base.en", "small.en", etc.
|
161 |
-
align_model=aligner
|
162 |
-
)
|
163 |
|
164 |
if transcribe_model is None:
|
165 |
raise gr.Error("Transcription model not loaded")
|
|
|
152 |
|
153 |
@spaces.GPU(duration=60)
|
154 |
def transcribe(seed, audio_path):
|
155 |
+
transcribe_model = WhisperModel("large-v3-turbo")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
|
157 |
if transcribe_model is None:
|
158 |
raise gr.Error("Transcription model not loaded")
|