Spaces:
Runtime error
Runtime error
Add tips
Browse files
app.py
CHANGED
|
@@ -176,7 +176,7 @@ if genre == ':rainbow[Heroes Explorer]':
|
|
| 176 |
col1, col2, col3 = st.columns(3)
|
| 177 |
with col1:
|
| 178 |
st.header("Standard Filters:")
|
| 179 |
-
st.write("Tips: filter costume by typing ' C' or 'C2' in the Name box")
|
| 180 |
with st.expander("Filter Options"):
|
| 181 |
name_option = st.text_input(label="Name:", value="")
|
| 182 |
star_option = st.selectbox(label='Star:', options=star_values, index=0)
|
|
@@ -189,12 +189,14 @@ if genre == ':rainbow[Heroes Explorer]':
|
|
| 189 |
special_text_option = st.text_input(label="SpecialSkill Text", value="Dispel")
|
| 190 |
with col2:
|
| 191 |
st.header("Stat Filters")
|
|
|
|
| 192 |
with st.expander("Stat Options"):
|
| 193 |
defense_option = st.text_input(label="Defense:", value="0")
|
| 194 |
attack_option = st.text_input(label="Attack:", value="0")
|
| 195 |
health_option = st.text_input(label="Health:", value="0")
|
| 196 |
with col3:
|
| 197 |
-
st.header("Sorted By
|
|
|
|
| 198 |
sort_option = st.selectbox(label='Sort by', options=display_cols[1:], index=5) # default is power
|
| 199 |
|
| 200 |
idx_all = []
|
|
|
|
| 176 |
col1, col2, col3 = st.columns(3)
|
| 177 |
with col1:
|
| 178 |
st.header("Standard Filters:")
|
| 179 |
+
st.write("Tips: filter costume by typing ' C' or 'C2' in the Name box.")
|
| 180 |
with st.expander("Filter Options"):
|
| 181 |
name_option = st.text_input(label="Name:", value="")
|
| 182 |
star_option = st.selectbox(label='Star:', options=star_values, index=0)
|
|
|
|
| 189 |
special_text_option = st.text_input(label="SpecialSkill Text", value="Dispel")
|
| 190 |
with col2:
|
| 191 |
st.header("Stat Filters")
|
| 192 |
+
st.write("Tips: put the **minimum** att/def/hp stat you want to filter heroes")
|
| 193 |
with st.expander("Stat Options"):
|
| 194 |
defense_option = st.text_input(label="Defense:", value="0")
|
| 195 |
attack_option = st.text_input(label="Attack:", value="0")
|
| 196 |
health_option = st.text_input(label="Health:", value="0")
|
| 197 |
with col3:
|
| 198 |
+
st.header("Sorted By")
|
| 199 |
+
st.write("Tips: you can also directly click at the column name to sort")
|
| 200 |
sort_option = st.selectbox(label='Sort by', options=display_cols[1:], index=5) # default is power
|
| 201 |
|
| 202 |
idx_all = []
|