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