Alimubariz124 commited on
Commit
871b8f2
·
verified ·
1 Parent(s): 48461bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ import pandas as pd
8
  import torch
9
 
10
  # Load Whisper model for transcription
11
- whisper_model = whisper.load_model("large")
12
 
13
  # Load translation pipeline
14
  translator = pipeline("translation", model="Helsinki-NLP/opus-mt-ar-en")
 
8
  import torch
9
 
10
  # Load Whisper model for transcription
11
+ whisper_model = whisper.load_model("large-v2") # Use "large-v2" if "large" doesn't work
12
 
13
  # Load translation pipeline
14
  translator = pipeline("translation", model="Helsinki-NLP/opus-mt-ar-en")