TArtx commited on
Commit
1346f0a
1 Parent(s): 7354bb7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,9 +12,9 @@ device = "cpu"
12
 
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
20
  SAMPLE_RATE = feature_extractor.sampling_rate
 
12
 
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).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