rbcurzon_laptop commited on
Commit
3cfd040
·
1 Parent(s): 49488ac

feat: enable return of timestamps in translate_audio function

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -190,6 +190,7 @@ async def translate_audio(
190
  result = app.state.pipe(
191
  temp_file,
192
  batch_size=2,
 
193
  generate_kwargs=generate_kwargs
194
  )
195
 
 
190
  result = app.state.pipe(
191
  temp_file,
192
  batch_size=2,
193
+ return_timestamps=True,
194
  generate_kwargs=generate_kwargs
195
  )
196