allandclive commited on
Commit
97b1e27
·
1 Parent(s): f4980d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from stitched_model import CombinedModel
6
 
7
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
8
 
9
- # Use facebook/mms-1b-all model for ASR and facebook/nllb-200-distilled-600M for translation
10
  model = CombinedModel("facebook/mms-1b-all", "Sunbird/sunbird-mul-en-mbart-merged", device=device)
11
 
12
  def transcribe(audio_file_mic=None, audio_file_upload=None):
 
6
 
7
  device = "cuda:0" if torch.cuda.is_available() else "cpu"
8
 
9
+ # Use facebook/mms-1b-all model for ASR and Sunbird/sunbird-mul-en-mbart-merged for translation
10
  model = CombinedModel("facebook/mms-1b-all", "Sunbird/sunbird-mul-en-mbart-merged", device=device)
11
 
12
  def transcribe(audio_file_mic=None, audio_file_upload=None):