backported automatically determining story count
This commit is contained in:
0
madlibs/TTS.mp3
Normal file
0
madlibs/TTS.mp3
Normal file
@@ -63,13 +63,6 @@ else:
|
||||
print('\n')
|
||||
# Now on to business!
|
||||
# Load files
|
||||
f = open('storyCount.txt', 'r')
|
||||
StoryCount = f.read()
|
||||
IntStoryCount = int(StoryCount)
|
||||
print("Detected", IntStoryCount, "stories")
|
||||
# Randomly pick what story we will use
|
||||
story = random.randint(1, IntStoryCount)
|
||||
|
||||
#Declare vars
|
||||
storyContentStr = []
|
||||
storyNameStr = []
|
||||
@@ -85,6 +78,10 @@ for line in f.readlines():
|
||||
storyNameStr.append(storyName)
|
||||
i+=1
|
||||
f.close()
|
||||
IntStoryCount = len(storyNameStr)
|
||||
print("Detected", int(IntStoryCount), "stories")
|
||||
# Randomly pick what story we will use
|
||||
story = random.randint(1, IntStoryCount)
|
||||
print(storyNameStr)
|
||||
# Print current story title, but remove the brackets first
|
||||
filteredTitle = re.findall(r'<(.*?)>', storyNameStr[story-1])
|
||||
|
BIN
madlibs/saved stories/generatedStory-04-02-2021-13:00:18.mp3
Normal file
BIN
madlibs/saved stories/generatedStory-04-02-2021-13:00:18.mp3
Normal file
Binary file not shown.
@@ -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 asadfsa brought to you by asdf! Hang tight and we'll be right back! Scene 2: Welcome in to Sunday on as! My name is asdfasdfasd, and I am sitting alongside four celebrities, asf, asdf, asdf, and asdf. Welcome guys. Week asdf is looking promising as we have three key games to focus on. First off, the asd take on the fewfewaxdvdxg, our afternoon game, the gasdg vs the eagsdg. Finally, our primetime game, the ra vs the asdg. A lot of action today, and we will break that down soon in the asdgas coming. Before we do anything, let's take a live look inside dgas where the first key match will be playred, and we have our field reporter, dgas 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 dg you at halftime.
|
||||
|
||||
Generated by Caleb Fontenot's madlibs.py
|
@@ -0,0 +1,5 @@
|
||||
caleb wanted me to do a thing now it will commence
|
||||
|
||||
Once upon a time in the land of asdf, there was a lovely little chap called asdf, but everyone just asdf to call him asdf. You see, he was the hero of the nearby city of asdf, and that made the mayor of the city he lived in, asf, very unhappy. So, in an act of asfd, he created his own asf army to take over the world. Now asfd did not like this, so he afs up to the main robot, which the mayor was in, and told him "afs". The mayor, hearing those words, instantly surrendered and afs. He was then charged for 3 major acts of asf.
|
||||
|
||||
Generated by Caleb Fontenot's madlibs.py
|
BIN
madlibs/saved stories/generatedStory-30-10-2020-08:48:53.mp3
Normal file
BIN
madlibs/saved stories/generatedStory-30-10-2020-08:48:53.mp3
Normal file
Binary file not shown.
@@ -0,0 +1,5 @@
|
||||
Three Little Pigs
|
||||
|
||||
Once upon a time, there were three beautiful pigs. One day, their mother said, "You are all grown up and must flying on your own." So they left to running their houses. The first little pig wanted only to meltdown all day and quickly built his house out of chickens. The second little pig wanted to jumping and soaring all day so he sharked his house with London's. The third knocked pig knew the wolf lived nearby and worked hard to fought his house out of books. One day, the wolf knocked on the first pig's potion. "Let me in or I'll blankets your house down!" The pig didn't, so the wolf shooketh down the Obama. The wolf knocked on the second pig's pigs. "Let me in or I'll blow your pencil down!" The pig didn't, so the wolf decided down the house. Then the wolf knocked on the third frustrating pig's door. "Let me in or I'll blow your house down!" The little pig didn't, so the wolf lost and eaten.He could not blow the house down. All the pigs went to live in the Tory house and they all adventured happily ever after.
|
||||
|
||||
Generated by Caleb Fontenot's madlibs.py
|
Reference in New Issue
Block a user