Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -7,8 +7,7 @@ from transformers import AutoTokenizer, AutoFeatureExtractor, set_seed
|
|
7 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
8 |
|
9 |
|
10 |
-
repo_id = "
|
11 |
-
# TODO: change repo id
|
12 |
|
13 |
model = ParlerTTSForConditionalGeneration.from_pretrained(repo_id).to(device)
|
14 |
tokenizer = AutoTokenizer.from_pretrained(repo_id)
|
|
|
7 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
8 |
|
9 |
|
10 |
+
repo_id = "parler-tts/parler_tts_300M_v0.1"
|
|
|
11 |
|
12 |
model = ParlerTTSForConditionalGeneration.from_pretrained(repo_id).to(device)
|
13 |
tokenizer = AutoTokenizer.from_pretrained(repo_id)
|