Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ pipe = pipeline(
|
|
11 |
|
12 |
def transcribe(audio):
|
13 |
start = time.time()
|
14 |
-
text = pipe(audio)['text']
|
15 |
print(time.time() - start)
|
16 |
return text
|
17 |
|
|
|
11 |
|
12 |
def transcribe(audio):
|
13 |
start = time.time()
|
14 |
+
text = pipe(audio, return_timestamps=True)['text']
|
15 |
print(time.time() - start)
|
16 |
return text
|
17 |
|