youngtsai commited on
Commit
4712f49
·
1 Parent(s): 06a37bc

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

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -206,7 +206,7 @@ def transcribe_audio_by_open_ai(audio_path):
206
  file=audio_file,
207
  response_format="verbose_json",
208
  timestamp_granularities=["segment"],
209
- language="zh-TW"
210
  )
211
 
212
  # get segments
 
206
  file=audio_file,
207
  response_format="verbose_json",
208
  timestamp_granularities=["segment"],
209
+ prompt="Transcribe the following audio file. if chinese, please using 'language: zh-TW' in the prompt.",
210
  )
211
 
212
  # get segments