Spaces:
Running
Running
michellelychan
commited on
Commit
·
f5c319c
1
Parent(s):
ba00a43
processor add
Browse files
app.py
CHANGED
@@ -13,7 +13,8 @@ model.enable_cpu_offload()
|
|
13 |
# device = "cpu"
|
14 |
# ### load in fp16
|
15 |
# model = BarkModel.from_pretrained("suno/bark-small").to(device)
|
16 |
-
|
|
|
17 |
|
18 |
voice_preset = "v2/en_speaker_3"
|
19 |
|
|
|
13 |
# device = "cpu"
|
14 |
# ### load in fp16
|
15 |
# model = BarkModel.from_pretrained("suno/bark-small").to(device)
|
16 |
+
|
17 |
+
processor = AutoProcessor.from_pretrained("suno/bark")
|
18 |
|
19 |
voice_preset = "v2/en_speaker_3"
|
20 |
|