Spaces:
Build error
Build error
timestamps
Browse files- server/src/main.py +2 -1
server/src/main.py
CHANGED
@@ -46,7 +46,8 @@ async def transcribe(request: Request):
|
|
46 |
'task': 'transcribe',
|
47 |
'language': 'english'
|
48 |
},
|
49 |
-
return_timestamps='word'
|
|
|
50 |
)
|
51 |
text = outputs["text"].strip()
|
52 |
return {"transcribe": text}
|
|
|
46 |
'task': 'transcribe',
|
47 |
'language': 'english'
|
48 |
},
|
49 |
+
# return_timestamps='word'
|
50 |
+
return_timestamps=True
|
51 |
)
|
52 |
text = outputs["text"].strip()
|
53 |
return {"transcribe": text}
|