fcesc-code commited on
Commit
a95ad26
1 Parent(s): c7b733f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -14,17 +14,17 @@ story_length = st.slider("How long should the story be?", 50, 200, 100)
14
  include_moral = st.checkbox("Include a moral lesson?")
15
 
16
  if st.button("Create My Story!"):
17
- # Generate the story
18
- story = "En la indústria editorial i en disseny gràfic, lorem ipsum és un text de farciment que s'usa habitualment per a mostrar els elements gràfics d'un document, com ara la tipografia o la composició"
19
-
20
- # Display the story
21
- st.markdown("## Your Magical Story")
22
- st.write(story)
23
-
24
- # Add a fun element
25
- st.balloons()
26
- else:
27
- st.warning("Please tell me your name and choose a story theme.")
28
 
29
  # Add some child-friendly decorations
30
  st.markdown("---")
 
14
  include_moral = st.checkbox("Include a moral lesson?")
15
 
16
  if st.button("Create My Story!"):
17
+ # Generate the story
18
+ story = "En la indústria editorial i en disseny gràfic, lorem ipsum és un text de farciment que s'usa habitualment per a mostrar els elements gràfics d'un document, com ara la tipografia o la composició"
19
+
20
+ # Display the story
21
+ st.markdown("## Your Magical Story")
22
+ st.write(story)
23
+
24
+ # Add a fun element
25
+ st.balloons()
26
+ else:
27
+ st.warning("Please tell me your name and choose a story theme.")
28
 
29
  # Add some child-friendly decorations
30
  st.markdown("---")