ylacombe HF staff commited on
Commit
627dc63
1 Parent(s): 037776c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ model = ParlerTTSForConditionalGeneration.from_pretrained(
30
  client = InferenceClient()
31
 
32
  description_tokenizer = AutoTokenizer.from_pretrained(repo_id)
33
- prompt_tokenizer = AutoTokenizer.from_pretrained(repo_id, padding_side=padding_side)
34
  feature_extractor = AutoFeatureExtractor.from_pretrained(repo_id)
35
 
36
  SAMPLE_RATE = feature_extractor.sampling_rate
 
30
  client = InferenceClient()
31
 
32
  description_tokenizer = AutoTokenizer.from_pretrained(repo_id)
33
+ prompt_tokenizer = AutoTokenizer.from_pretrained(repo_id, padding_side="left")
34
  feature_extractor = AutoFeatureExtractor.from_pretrained(repo_id)
35
 
36
  SAMPLE_RATE = feature_extractor.sampling_rate