Altered __main__

Also added git ignore for /tts/
This commit is contained in:
Alex Orid 2020-09-21 03:57:45 -04:00
parent 937504816d
commit a585f3ed2c
2 changed files with 3 additions and 9 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
tts/

8
tts.py
View File

@ -105,12 +105,4 @@ def get_tts_dir():
if __name__ == "__main__":
print("Enter Text: ")
textInput = str(input())
print("Custom FileName? y/n: ")
bool_string = str(input())
if bool_string == "y":
print("Enter FileName: ")
fileName = str(input())
tts(textInput, fileName)
else:
tts(textInput)