Skip to content

Commit

Permalink
Use facebook/mms-tts-eng instead of suno/bark in Gradio cookbook for …
Browse files Browse the repository at this point in the history
…Text2Speech (#885)

Use facebook/mms-tts-eng instead of suno/bark in Gradio cookbook for
Text2Speech

Bark is ~5GB and took my laptop 30mins to download for the first time.
The Facebook MMS
(https://huggingface.co/facebook/mms-tts-eng?fbclid=IwAR22U5VSaZ_V7QW4TJe77CM7f4fsTHjqCMjgLKV31wUl66ww1vXYSrEl-MA)
is only ~100MB which is way better and at least for cookbook I feel much
more worth it to quickly test things out. Yes the output quality is way
more memey and "voice AI" stereotype, but I feel the tradeoff is worth
it

---
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with
[ReviewStack](https://reviewstack.dev/lastmile-ai/aiconfig/pull/885).
* __->__ #885
* #883
* #882
* #881
* #879
  • Loading branch information
saqadri authored Jan 11, 2024
2 parents b098ca1 + d1b532f commit 7e7d6ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cookbooks/Gradio/huggingface.aiconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"default_model": "stevhliu/my_awesome_billsum_model",
"model_parsers": {
"Salesforce/blip-image-captioning-base": "HuggingFaceImage2TextTransformer",
"suno/bark": "HuggingFaceText2SpeechTransformer"
"facebook/mms-tts-eng": "HuggingFaceText2SpeechTransformer"
}
},
"description": "Welcome to the first Hugging Face AIConfig! Let's showcase the many capabilities of Hugging Face models, all in one place.",
Expand Down Expand Up @@ -141,7 +141,7 @@
"model": {
"name": "HuggingFaceText2SpeechTransformer",
"settings": {
"model": "suno/bark",
"model": "facebook/mms-tts-eng",
"max_length": 100,
"min_length": 50,
"num_beams": 1
Expand Down

0 comments on commit 7e7d6ea

Please sign in to comment.