Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ def create_character_sheet():
|
|
6 |
st.write("Enter your character details:")
|
7 |
class_input = st.text_input("Class")
|
8 |
level_input = st.text_input("Level")
|
9 |
-
name_input = st.text_input("Name")
|
10 |
background_input = st.text_input("Background")
|
11 |
alignment_input = st.text_input("Alignment")
|
12 |
|
@@ -66,5 +66,4 @@ def create_character_sheet():
|
|
66 |
st.write("Features and Abilities: ", features_input)
|
67 |
st.write("Equipment: ", equipment_input)
|
68 |
|
69 |
-
if name == "main":
|
70 |
create_character_sheet()
|
|
|
6 |
st.write("Enter your character details:")
|
7 |
class_input = st.text_input("Class")
|
8 |
level_input = st.text_input("Level")
|
9 |
+
name_input = st.text_input("Name:")
|
10 |
background_input = st.text_input("Background")
|
11 |
alignment_input = st.text_input("Alignment")
|
12 |
|
|
|
66 |
st.write("Features and Abilities: ", features_input)
|
67 |
st.write("Equipment: ", equipment_input)
|
68 |
|
|
|
69 |
create_character_sheet()
|