Spaces:
Running
Running
jhj0517
commited on
Commit
·
e901c63
1
Parent(s):
f56c9fb
edited comment
Browse files
modules/faster_whisper_inference.py
CHANGED
|
@@ -259,6 +259,8 @@ class FasterWhisperInference(BaseInterface):
|
|
| 259 |
----------
|
| 260 |
segments_result: list[dict]
|
| 261 |
list of dicts that includes start, end timestamps and transcribed text
|
|
|
|
|
|
|
| 262 |
"""
|
| 263 |
start_time = time.time()
|
| 264 |
segments, info = self.model.transcribe(
|
|
|
|
| 259 |
----------
|
| 260 |
segments_result: list[dict]
|
| 261 |
list of dicts that includes start, end timestamps and transcribed text
|
| 262 |
+
elapsed_time: float
|
| 263 |
+
elapsed time for transcription
|
| 264 |
"""
|
| 265 |
start_time = time.time()
|
| 266 |
segments, info = self.model.transcribe(
|