Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -284,10 +284,10 @@ elif genre == "Team Simulation":
|
|
| 284 |
return df_ret
|
| 285 |
|
| 286 |
def write_short_description(df_hero):
|
| 287 |
-
st.write(f'Power: {df_hero[
|
| 288 |
-
st.write(f'Attack: {df_hero[
|
| 289 |
-
st.write(f'Defense: {df_hero[
|
| 290 |
-
st.write(f'Health: {df_hero[
|
| 291 |
|
| 292 |
col1, col2, col3, col4, col5 = st.columns(5)
|
| 293 |
with col1:
|
|
|
|
| 284 |
return df_ret
|
| 285 |
|
| 286 |
def write_short_description(df_hero):
|
| 287 |
+
st.write(f'Power: {df_hero["power"].values[0]}')
|
| 288 |
+
st.write(f'Attack: {df_hero["attack"].values[0]}')
|
| 289 |
+
st.write(f'Defense: {df_hero["defense"].values[0]}')
|
| 290 |
+
st.write(f'Health: {df_hero["health"].values[0]}')
|
| 291 |
|
| 292 |
col1, col2, col3, col4, col5 = st.columns(5)
|
| 293 |
with col1:
|