Update app.py
Browse files
app.py
CHANGED
|
@@ -59,7 +59,7 @@ def transcribe_audio(audio_path):
|
|
| 59 |
model="openai/whisper-large-v3-turbo",
|
| 60 |
torch_dtype=torch_dtype,
|
| 61 |
device=device,
|
| 62 |
-
language
|
| 63 |
)
|
| 64 |
|
| 65 |
if audio_path is None:
|
|
|
|
| 59 |
model="openai/whisper-large-v3-turbo",
|
| 60 |
torch_dtype=torch_dtype,
|
| 61 |
device=device,
|
| 62 |
+
generate_kwargs={"language": "english"},
|
| 63 |
)
|
| 64 |
|
| 65 |
if audio_path is None:
|