Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -199,7 +199,7 @@ def transcribe(audio):
|
|
199 |
dC = delta_C(cons_clusters)
|
200 |
pV = percent_V(vowels_duration, duration_without_pauses)
|
201 |
|
202 |
-
transcription = processor.
|
203 |
|
204 |
text = {"transcription": transcription}
|
205 |
|
|
|
199 |
dC = delta_C(cons_clusters)
|
200 |
pV = percent_V(vowels_duration, duration_without_pauses)
|
201 |
|
202 |
+
transcription = processor.batch_decode(logits.detach().numpy()).text[0]
|
203 |
|
204 |
text = {"transcription": transcription}
|
205 |
|