Spaces:
Build error
Build error
return_timestamps
Browse files- server/src/main.py +2 -1
server/src/main.py
CHANGED
@@ -35,7 +35,8 @@ async def transcribe(request: Request):
|
|
35 |
'task': 'transcribe',
|
36 |
'language': 'english'
|
37 |
},
|
38 |
-
return_timestamps='word'
|
|
|
39 |
)
|
40 |
text = outputs["text"].strip()
|
41 |
return {"transcribe": text}
|
|
|
35 |
'task': 'transcribe',
|
36 |
'language': 'english'
|
37 |
},
|
38 |
+
# return_timestamps='word'
|
39 |
+
return_timestamps=False
|
40 |
)
|
41 |
text = outputs["text"].strip()
|
42 |
return {"transcribe": text}
|