TomMoule91 commited on
Commit
ae2548e
1 Parent(s): 7a9fcac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def main():
19
 
20
  if st.button("Generate Story"):
21
  if name and interests and friends:
22
- story = generate_bedtime_story(name, interests, friends.split(","))
23
  st.write(story)
24
  else:
25
  st.warning("Please fill in all the inputs.")
 
19
 
20
  if st.button("Generate Story"):
21
  if name and interests and friends:
22
+ story = generate_bedtime_story(name, interests, age, friends.split(","))
23
  st.write(story)
24
  else:
25
  st.warning("Please fill in all the inputs.")