TArtx commited on
Commit
c881c46
·
verified ·
1 Parent(s): d7706f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ device = "cpu"
14
  repo_id = "TArtx/parler-tts-mini-v1-finetuned-12"
15
  model = ParlerTTSForConditionalGeneration.from_pretrained(repo_id).to(device)
16
  tokenizer = AutoTokenizer.from_pretrained("parler-tts/parler-tts-mini-v1")
17
- feature_extractor = AutoFeatureExtractor.from_pretrained(parler-tts/parler-tts-mini-v1)
18
 
19
  # Constants
20
  SAMPLE_RATE = feature_extractor.sampling_rate
 
14
  repo_id = "TArtx/parler-tts-mini-v1-finetuned-12"
15
  model = ParlerTTSForConditionalGeneration.from_pretrained(repo_id).to(device)
16
  tokenizer = AutoTokenizer.from_pretrained("parler-tts/parler-tts-mini-v1")
17
+ feature_extractor = AutoFeatureExtractor.from_pretrained("parler-tts/parler-tts-mini-v1")
18
 
19
  # Constants
20
  SAMPLE_RATE = feature_extractor.sampling_rate