Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ pipe = pipeline(
|
|
12 |
)
|
13 |
label = pipeline("audio-classification", model="facebook/mms-lid-126", device=device)
|
14 |
processor = AutoProcessor.from_pretrained("suno/bark")
|
15 |
-
model = BarkModel.from_pretrained("suno/bark")
|
16 |
model = model.to(device)
|
17 |
synthesised_rate = model.generation_config.sample_rate
|
18 |
|
|
|
12 |
)
|
13 |
label = pipeline("audio-classification", model="facebook/mms-lid-126", device=device)
|
14 |
processor = AutoProcessor.from_pretrained("suno/bark")
|
15 |
+
model = BarkModel.from_pretrained("suno/bark-small")
|
16 |
model = model.to(device)
|
17 |
synthesised_rate = model.generation_config.sample_rate
|
18 |
|