Spaces:
Sleeping
Sleeping
JACINTO VELASCO commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -64,9 +64,9 @@ def show_question(q, real_index):
|
|
| 64 |
st.markdown("#### Resumen por tipo")
|
| 65 |
st.dataframe(resumen[["% acierto"]], height=200)
|
| 66 |
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
|
| 71 |
def mostrar_estadisticas(history):
|
| 72 |
df = pd.DataFrame(history)
|
|
|
|
| 64 |
st.markdown("#### Resumen por tipo")
|
| 65 |
st.dataframe(resumen[["% acierto"]], height=200)
|
| 66 |
|
| 67 |
+
if st.button("Siguiente", key=f"next_{real_index}"):
|
| 68 |
+
st.session_state.current += 1
|
| 69 |
+
st.rerun()
|
| 70 |
|
| 71 |
def mostrar_estadisticas(history):
|
| 72 |
df = pd.DataFrame(history)
|