Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ st.title("🧚♀️ Magic Story Buddy 📚")
|
|
| 16 |
st.markdown("Let's create a magical story just for you!")
|
| 17 |
|
| 18 |
# User input
|
| 19 |
-
child_name = st.text_input("What's your name, young storyteller?", on_change=
|
| 20 |
st.write('Your name is ', child_name)
|
| 21 |
st.write('The state is ', st.session_state['name'])
|
| 22 |
story_theme = st.selectbox("What would you like your story to be about?",
|
|
|
|
| 16 |
st.markdown("Let's create a magical story just for you!")
|
| 17 |
|
| 18 |
# User input
|
| 19 |
+
child_name = st.text_input("What's your name, young storyteller?", on_change=child_update)
|
| 20 |
st.write('Your name is ', child_name)
|
| 21 |
st.write('The state is ', st.session_state['name'])
|
| 22 |
story_theme = st.selectbox("What would you like your story to be about?",
|