Omnibus commited on
Commit
191ed4a
1 Parent(s): a903ef7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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,