Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ model = BarkModel.from_pretrained("suno/bark-small").to(device)
|
|
| 18 |
|
| 19 |
def run_bark(text, n, lang="en"):
|
| 20 |
#history_prompt = []
|
| 21 |
-
semantic_prompt=f"v2/{lang}_speaker_{n}"
|
| 22 |
|
| 23 |
#text=["Hello, my name is Suno. And, uh — and I like pizza. [laughs] But I also have other interests such as playing tic tac toe."],
|
| 24 |
inputs = processor(text=text,
|
|
|
|
| 18 |
|
| 19 |
def run_bark(text, n, lang="en"):
|
| 20 |
#history_prompt = []
|
| 21 |
+
semantic_prompt=f"v2/{lang}_speaker_{int(n)}"
|
| 22 |
|
| 23 |
#text=["Hello, my name is Suno. And, uh — and I like pizza. [laughs] But I also have other interests such as playing tic tac toe."],
|
| 24 |
inputs = processor(text=text,
|