prompt="Transcribe the following audio file. if chinese, please using 'language: zh-TW' in the prompt.",
Browse files
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 |
-
|
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
|