Added multiple story support

master
Chloe Fontenot 🏳️‍⚧️ 2019-09-04 08:38:04 +07:00
parent 05d4e051d4
commit 2680e5938d
11 changed files with 29 additions and 4 deletions

Binary file not shown.

Binary file not shown.

@ -55,7 +55,7 @@ if platform.system() == 'Linux':
# Introduce yourself
print (colored("<<madlibs.", 'red')+colored("p", 'yellow')+colored("y", 'blue'), colored("- Written by Caleb Fontenot>>", 'red'), '\n' "Project started on July 13, 2019")
print("I pull txt files in the directory you place me in for stories!" '\n' '\n' "Run me with the --setup flag for instructions on setting a story up!" '\n')
print("Final Build*", '\n')
# Notify if verbose
if debug == 1:
print("Debug mode is enabled! Being verbose!", '\n')
@ -161,9 +161,9 @@ file.close()
# say the tts
print('\n'+"Processing Text-To-Speech, please wait..."+'\n')
tts = gTTS(text=generatedStory, lang='en')
tts = gTTS(text=generatedStory+"This story was generated by Caleb Fontenot's MadLibs.py", lang='en')
tts.save("TTS.mp3")
os.system("play TTS.mp3")
os.system("mv TTS.mp3 "+saveFile+".mp3\"")
os.system("mv TTS.mp3 "+"\""+saveFile+".mp3"+"\"")

@ -0,0 +1,5 @@
NFL on What Channel?!
The NFL is back! On our new home! Welcome to the most in-depth pregame show in all of pregame shows. This is the NFL on ABC brought to you by Snickers! Hang tight and we'll be right back! Scene 2: Welcome in to Sunday on ABC! My name is Tory Trahan, and I am sitting alongside four celebrities, Alumx, PewDiePie, ExploadingPonyToast, and bank pain. Welcome guys. Week 76 quintillion is looking promising as we have three key games to focus on. First off, the Saints take on the idk1, our afternoon game, the idk2 vs the idk3. Finally, our primetime game, the idk4 vs the idk5. A lot of action today, and we will break that down soon in the 5 milllenia coming. Before we do anything, let's take a live look inside Mercades-Benz SuperDome where the first key match will be playred, and we have our field reporter, Donald Trump who is covering our action. Scene 3: Alright, thank you. Now, it's time for kickoff of our first key game. We hope you enjoy the game and we will ran you at halftime.
Generated by Caleb Fontenot's madlibs.py

@ -0,0 +1,5 @@
AMC Cinemas Pre-Show Policy
Thank you for choosing AMC Cinemas. Where we make movie moments AMC Coming. Your safety is quickly to us, so remember, keep a head on your valuables. Be sure to report any weird behavior. And please take a moment to find any emergency exits near you. Make sure to stock up on Sprite and pizza at the concessions bar. Enjoy your movie, Attack of the evil Tory and we thank you for choosing AMC Cinemas as your destination to watch that movie. Please, silence your Razer Phone 2 now and be quiet and courteous of your peers. And now, ladies and gentlemen, here are some special previews coming to an AMC near you.
Generated by Caleb Fontenot's madlibs.py

@ -0,0 +1,5 @@
Awards Show
Welcome everyone to New York, NY and the 2436 MadLib awards show. Here are the nominees for I don't know. First, Barrack Obama. Next, Andrea Libman. And finally, Tory. And the winner is... Barack Obama! Nepotism could not be here tonight so he recorded a message for us to see. Take a look. Winner: Hello all. Thank you, the fans, for voting. I really appreciate it. I am sorry I couldn't be there.
Generated by Caleb Fontenot's madlibs.py

@ -0,0 +1,5 @@
Three Little Pigs
Once upon a time, there were three sfdg pigs. One day, their mother said, "You are all grown up and must fsdg on your own." So they left to sdfg their houses. The first little pig wanted only to sd all day and quickly built his house out of sgdf. The second little pig wanted to sdgf and gsdf all day so he gsf his house with gsf. The third sgd pig knew the wolf lived nearby and worked hard to sdgf his house out of sdf. One day, the wolf knocked on the first pig's sdg. "Let me in or I'll gsd your house down!" The pig didn't, so the wolf gsd down the sdg. The wolf knocked on the second pig's sfd. "Let me in or I'll blow your fdg down!" The pig didn't, so the wolf dfsOS down the house. Then the wolf knocked on the third dfs pig's door. "Let me in or I'll blow your house down!" The little pig didn't, so the wolf dsfsgdf and sgd.He could not blow the house down. All the pigs went to live in the sfd house and they all sgd happily ever after.
Generated by Caleb Fontenot's madlibs.py

@ -0,0 +1,5 @@
NFL on What Channel?!
The NFL is back! On our new home! Welcome to the most in-depth pregame show in all of pregame shows. This is the NFL on BBC brought to you by Skittles! Hang tight and we'll be right back! Scene 2: Welcome in to Sunday on BBC! My name is Too Taken, and I am sitting alongside four celebrities, TheTaZe, ExploadingPonyToast, CCF_100, and PegasYs. Welcome guys. Week 5 is looking promising as we have three key games to focus on. First off, the Saints take on the Chargers, our afternoon game, the Eagles vs the Steelers. Finally, our primetime game, the Falcons vs the Patriots. A lot of action today, and we will break that down soon in the 3 decades coming. Before we do anything, let's take a live look inside Mercades-Benz Statium where the first key match will be playred, and we have our field reporter, Melania Trump who is covering our action. Scene 3: Alright, thank you. Now, it's time for kickoff of our first key game. We hope you enjoy the game and we will ran you at halftime.
Generated by Caleb Fontenot's madlibs.py