Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1030,12 +1030,13 @@ if st.session_state.animation_generated and st.session_state.story_text:
|
|
1030 |
# Hero position
|
1031 |
hero_x = 100
|
1032 |
hero_y = 300
|
1033 |
-
|
1034 |
# How to draw your hero
|
1035 |
def draw_hero():
|
1036 |
-
{get_character_drawing_code(st.session_state.selected_character).replace('
|
1037 |
-
|
1038 |
-
|
|
|
1039 |
|
1040 |
with st.expander("3. Making Your Hero Move"):
|
1041 |
st.markdown("""
|
|
|
1030 |
# Hero position
|
1031 |
hero_x = 100
|
1032 |
hero_y = 300
|
1033 |
+
|
1034 |
# How to draw your hero
|
1035 |
def draw_hero():
|
1036 |
+
{get_character_drawing_code(st.session_state.selected_character).replace('\\n', '\\n ')}
|
1037 |
+
```
|
1038 |
+
""")
|
1039 |
+
|
1040 |
|
1041 |
with st.expander("3. Making Your Hero Move"):
|
1042 |
st.markdown("""
|