[docs] variable name error in text to sound example in docs
Thanks for noticing this bug. I'll fix this in #2166  Oh, it looks like someone already fixed it. We will fix this in the upcoming 1.0 release.
variable name `spec_gen` was used for parsing text and creating spectogram, which should be `spec_generator`