ylacombe HF staff commited on
Commit
0fb30c7
1 Parent(s): ee9b2d6

update Bark.generate_speech -> generate

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -89,7 +89,7 @@ inputs = processor(
89
  return_tensors="pt",
90
  )
91
 
92
- speech_values = model.generate_speech(**inputs, do_sample=True)
93
  ```
94
 
95
  3. Listen to the speech samples either in an ipynb notebook:
@@ -185,4 +185,4 @@ We anticipate that this model's text to audio capabilities can be used to improv
185
  While we hope that this release will enable users to express their creativity and build applications that are a force
186
  for good, we acknowledge that any text to audio model has the potential for dual use. While it is not straightforward
187
  to voice clone known people with Bark, it can still be used for nefarious purposes. To further reduce the chances of unintended use of Bark,
188
- we also release a simple classifier to detect Bark-generated audio with high accuracy (see notebooks section of the main repository).
 
89
  return_tensors="pt",
90
  )
91
 
92
+ speech_values = model.generate(**inputs, do_sample=True)
93
  ```
94
 
95
  3. Listen to the speech samples either in an ipynb notebook:
 
185
  While we hope that this release will enable users to express their creativity and build applications that are a force
186
  for good, we acknowledge that any text to audio model has the potential for dual use. While it is not straightforward
187
  to voice clone known people with Bark, it can still be used for nefarious purposes. To further reduce the chances of unintended use of Bark,
188
+ we also release a simple classifier to detect Bark-generated audio with high accuracy (see notebooks section of the main repository).