TArtx commited on
Commit
7354bb7
·
verified ·
1 Parent(s): 3e8eea8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ device = "cpu"
13
  # Load Mini model and associated components with low memory usage
14
  repo_id = "TArtx/parler-tts-mini-v1-finetuned-12"
15
  model = ParlerTTSForConditionalGeneration.from_pretrained(repo_id, low_cpu_mem_usage=True).to(device)
16
- tokenizer = AutoTokenizer.from_pretrained(parler-tts/parler-tts-mini-v1)
17
  feature_extractor = AutoFeatureExtractor.from_pretrained(repo_id)
18
 
19
  # Constants
 
13
  # Load Mini model and associated components with low memory usage
14
  repo_id = "TArtx/parler-tts-mini-v1-finetuned-12"
15
  model = ParlerTTSForConditionalGeneration.from_pretrained(repo_id, low_cpu_mem_usage=True).to(device)
16
+ tokenizer = AutoTokenizer.from_pretrained("parler-tts/parler-tts-mini-v1")
17
  feature_extractor = AutoFeatureExtractor.from_pretrained(repo_id)
18
 
19
  # Constants