NLPV commited on
Commit
5db928f
·
verified ·
1 Parent(s): c98ee65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -7,7 +7,8 @@ from Levenshtein import distance as lev_distance
7
  import whisper
8
 
9
  # Load Whisper model once (choose "small" or "medium" for better results)
10
- model = whisper.load_model("small")
 
11
 
12
  def play_text(text):
13
  tts = gTTS(text=text, lang='hi', slow=False)
 
7
  import whisper
8
 
9
  # Load Whisper model once (choose "small" or "medium" for better results)
10
+ #model = whisper.load_model("small")
11
+ model = whisper.load_model("large-v3")
12
 
13
  def play_text(text):
14
  tts = gTTS(text=text, lang='hi', slow=False)