UmarBaba1 commited on
Commit
df7a7b2
β€’
1 Parent(s): c696c0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from gtts import gTTS
5
  from io import BytesIO
6
 
7
  # Load Whisper ASR model
8
- whisper_model = whisper.load_model("small") # You can choose 'base', 'small', 'medium', 'large'
9
 
10
  # Load translation models for Hausa-English and English-Hausa
11
  model_name_he = 'Helsinki-NLP/opus-mt-ha-en' # Hausa to English
 
5
  from io import BytesIO
6
 
7
  # Load Whisper ASR model
8
+ whisper_model = whisper.load_model("small") # Use a smaller model
9
 
10
  # Load translation models for Hausa-English and English-Hausa
11
  model_name_he = 'Helsinki-NLP/opus-mt-ha-en' # Hausa to English