Spaces:
Runtime error
Runtime error
fix another bug of draft
Browse files
app.py
CHANGED
@@ -274,11 +274,11 @@ if genre == ':rainbow[Heroes Explorer]':
|
|
274 |
elif genre == "Team Simulation":
|
275 |
|
276 |
def choose_hero(key="Hero1"):
|
277 |
-
name_choice = st.selectbox(label='Hero Name:', options=all_name_extra, index=0, key=key)
|
278 |
costume_list = return_costume_list(df_extra, name_choice)
|
279 |
-
costume_choice = st.selectbox(label='Costume:', options=costume_list, index=0, key=key)
|
280 |
lb_list = ['None', 'LB1', 'LB2']
|
281 |
-
lb_choice = st.selectbox(label='Limit Break:', options=lb_list, index=0, key=key)
|
282 |
|
283 |
df_ret = return_hero_stat(df_extra, name_choice, lb_choice=lb_choice, costume_choice=costume_choice)
|
284 |
return df_ret
|
|
|
274 |
elif genre == "Team Simulation":
|
275 |
|
276 |
def choose_hero(key="Hero1"):
|
277 |
+
name_choice = st.selectbox(label='Hero Name:', options=all_name_extra, index=0, key=key+"_name")
|
278 |
costume_list = return_costume_list(df_extra, name_choice)
|
279 |
+
costume_choice = st.selectbox(label='Costume:', options=costume_list, index=0, key=key+"_costume")
|
280 |
lb_list = ['None', 'LB1', 'LB2']
|
281 |
+
lb_choice = st.selectbox(label='Limit Break:', options=lb_list, index=0, key=key+"_lb")
|
282 |
|
283 |
df_ret = return_hero_stat(df_extra, name_choice, lb_choice=lb_choice, costume_choice=costume_choice)
|
284 |
return df_ret
|