CineAI commited on
Commit
b86dfc7
1 Parent(s): 0fb503b

Update audio_processing/config.py

Browse files
Files changed (1) hide show
  1. audio_processing/config.py +6 -4
audio_processing/config.py CHANGED
@@ -28,9 +28,11 @@ pipe = pipeline(
28
  # SAMPLE_RATE = feature_extractor.sampling_rate
29
  # SEED = 42
30
 
31
- from transformers import VitsModel, AutoTokenizer
32
-
33
  checkpoint_mms_tts_eng = "facebook/mms-tts-eng"
34
 
35
- model_mms_tts_eng = VitsModel.from_pretrained(checkpoint_mms_tts_eng)
36
- tokenizer_mms_tts_eng = AutoTokenizer.from_pretrained(checkpoint_mms_tts_eng)
 
 
 
 
 
28
  # SAMPLE_RATE = feature_extractor.sampling_rate
29
  # SEED = 42
30
 
 
 
31
  checkpoint_mms_tts_eng = "facebook/mms-tts-eng"
32
 
33
+ # from transformers import VitsModel, AutoTokenizer
34
+
35
+ # model_mms_tts_eng = VitsModel.from_pretrained(checkpoint_mms_tts_eng)
36
+ # tokenizer_mms_tts_eng = AutoTokenizer.from_pretrained(checkpoint_mms_tts_eng)
37
+
38
+ pipe_tts = pipeline("text-to-speech", model=checkpoint_mms_tts_eng)