Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ pipe = pipeline(
|
|
10 |
"automatic-speech-recognition", model="openai/whisper-large-v2", device=device
|
11 |
)
|
12 |
processor = AutoProcessor.from_pretrained("suno/bark")
|
13 |
-
model = BarkModel.from_pretrained("suno/bark
|
14 |
model = model.to(device)
|
15 |
synthesised_rate = model.generation_config.sample_rate
|
16 |
|
|
|
10 |
"automatic-speech-recognition", model="openai/whisper-large-v2", device=device
|
11 |
)
|
12 |
processor = AutoProcessor.from_pretrained("suno/bark")
|
13 |
+
model = BarkModel.from_pretrained("suno/bark")
|
14 |
model = model.to(device)
|
15 |
synthesised_rate = model.generation_config.sample_rate
|
16 |
|