MCPcopy Create free account
hub / github.com/geekcomputers/Python / user_input

Method user_input

text_to_audio/main.py:68–74  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

66
67 # ! Some error is here.
68 def user_input(self):
69 text = input("Enter the text you want to convert to audio: ")
70 self.text_to_audio = text
71 self.gtts_object = gTTS(
72 text=self.text_to_audio, lang=self.lang, slow=self.slow, tld=self.accent
73 ) # Just need to understand the class workings little better.
74 # Isn't this declaring this again?
75
76 def save_only(self, filename="default.mp3"):
77 # The class will take care of the playing and saving.

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected