Spaces:
Runtime error
Runtime error
liuyang
commited on
Commit
·
fe1fbc5
1
Parent(s):
ae73284
add log
Browse files
app.py
CHANGED
|
@@ -593,7 +593,7 @@ class WhisperTranscriber:
|
|
| 593 |
"words": words_list,
|
| 594 |
"duration": float(seg.get("end", 0.0)) - float(seg.get("start", 0.0))
|
| 595 |
})
|
| 596 |
-
|
| 597 |
transcription_time = time.time() - start_time
|
| 598 |
print(f"Full audio transcribed and aligned in {transcription_time:.2f} seconds using batch size {batch_size}")
|
| 599 |
return results, detected_language
|
|
|
|
| 593 |
"words": words_list,
|
| 594 |
"duration": float(seg.get("end", 0.0)) - float(seg.get("start", 0.0))
|
| 595 |
})
|
| 596 |
+
print(results)
|
| 597 |
transcription_time = time.time() - start_time
|
| 598 |
print(f"Full audio transcribed and aligned in {transcription_time:.2f} seconds using batch size {batch_size}")
|
| 599 |
return results, detected_language
|