youngtsai commited on
Commit
48d17f9
·
1 Parent(s): c354c45

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

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -389,7 +389,7 @@ def generate_transcription(video_id):
389
  file=audio_file,
390
  response_format="verbose_json",
391
  timestamp_granularities=["segment"],
392
- prompt="如果逐字稿有中文,請使用繁體中文 zh-TW",
393
  )
394
 
395
  # get segments
 
389
  file=audio_file,
390
  response_format="verbose_json",
391
  timestamp_granularities=["segment"],
392
+ prompt="Transcribe the following audio file. if chinese, please using 'language: zh-TW' ",
393
  )
394
 
395
  # get segments