uzi007 commited on
Commit
f3aea51
1 Parent(s): a689179

Added GPU Models

Browse files
Files changed (1) hide show
  1. models.py +3 -3
models.py CHANGED
@@ -19,15 +19,15 @@ def load_models():
19
  models = dict()
20
 
21
  # Transcription Model - Whisper
22
- # models['transcription'] = stable_whisper.load_model('large-v2') # Stable Whisper
23
  # models['transcription'] = WhisperModel("large-v2", device="cuda", compute_type="float16") # Faster Whisper
24
 
25
  # Translation Model - NLLB
26
- # nllb_model = 'facebook/nllb-200-distilled-600M'
27
  # nllb_model = 'facebook/nllb-200-1.3B'
28
  # nllb_model = 'facebook/nllb-200-3.3B'
29
  # nllb_model = 'facebook/nllb-moe-54b'
30
- # models['translation'] = dlt.TranslationModel(nllb_model)
31
 
32
  # TODO: Audio Generation Model - Bark
33
  # models['audiobook'] =
 
19
  models = dict()
20
 
21
  # Transcription Model - Whisper
22
+ models['transcription'] = stable_whisper.load_model('large-v2') # Stable Whisper
23
  # models['transcription'] = WhisperModel("large-v2", device="cuda", compute_type="float16") # Faster Whisper
24
 
25
  # Translation Model - NLLB
26
+ nllb_model = 'facebook/nllb-200-distilled-600M'
27
  # nllb_model = 'facebook/nllb-200-1.3B'
28
  # nllb_model = 'facebook/nllb-200-3.3B'
29
  # nllb_model = 'facebook/nllb-moe-54b'
30
+ models['translation'] = dlt.TranslationModel(nllb_model)
31
 
32
  # TODO: Audio Generation Model - Bark
33
  # models['audiobook'] =