Update app.py
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ def transcribe_audio(audio_path):
|
|
| 20 |
with open(audio_path, "rb") as file:
|
| 21 |
response = client.audio.transcriptions.create(
|
| 22 |
file=(audio_path, file.read()),
|
| 23 |
-
model="whisper-large-v3
|
| 24 |
response_format="verbose_json", # فرمت خروجی حاوی زمانبندی
|
| 25 |
language="fa" # زبان فارسی
|
| 26 |
)
|
|
|
|
| 20 |
with open(audio_path, "rb") as file:
|
| 21 |
response = client.audio.transcriptions.create(
|
| 22 |
file=(audio_path, file.read()),
|
| 23 |
+
model="whisper-large-v3", # مدل ویسپر ۳ توربو
|
| 24 |
response_format="verbose_json", # فرمت خروجی حاوی زمانبندی
|
| 25 |
language="fa" # زبان فارسی
|
| 26 |
)
|