youngtsai commited on
Commit
7a116ca
·
1 Parent(s): bb65b39

prompt="Transcribe the following audio file. if content is chinese, please using 'language: zh-TW' ",

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -422,7 +422,7 @@ def generate_transcription(video_id):
422
  file=chunk_file,
423
  response_format="verbose_json",
424
  timestamp_granularities=["segment"],
425
- prompt="Transcribe the following audio file. if chinese, please using 'language: zh-TW' ",
426
  )
427
 
428
  # Adjusting the timestamps for the chunk based on its position in the full audio
 
422
  file=chunk_file,
423
  response_format="verbose_json",
424
  timestamp_granularities=["segment"],
425
+ prompt="Transcribe the following audio file. if content is chinese, please using 'language: zh-TW' ",
426
  )
427
 
428
  # Adjusting the timestamps for the chunk based on its position in the full audio