Update app.py
Browse files
app.py
CHANGED
|
@@ -206,19 +206,21 @@ if st.session_state['step'] == 2:
|
|
| 206 |
col1, col2, col3 = st.columns(3)
|
| 207 |
|
| 208 |
# Pulsante per procedere con l'inferenza
|
|
|
|
| 209 |
with col1:
|
| 210 |
if st.button("Inference"):
|
| 211 |
st.session_state['step'] = 3 # Passa al passo 3
|
| 212 |
st.rerun()
|
|
|
|
| 213 |
|
| 214 |
# Pulsante per provare un esempio
|
| 215 |
-
with
|
| 216 |
if st.button("Try an example"):
|
| 217 |
st.session_state['step'] = 5 # Passa al passo 5
|
| 218 |
st.rerun()
|
| 219 |
|
| 220 |
# Pulsante per tornare all'inizio
|
| 221 |
-
with
|
| 222 |
if st.button("Return to the beginning"):
|
| 223 |
# Ripristina lo stato della sessione
|
| 224 |
st.session_state['step'] = 1
|
|
|
|
| 206 |
col1, col2, col3 = st.columns(3)
|
| 207 |
|
| 208 |
# Pulsante per procedere con l'inferenza
|
| 209 |
+
"""
|
| 210 |
with col1:
|
| 211 |
if st.button("Inference"):
|
| 212 |
st.session_state['step'] = 3 # Passa al passo 3
|
| 213 |
st.rerun()
|
| 214 |
+
"""
|
| 215 |
|
| 216 |
# Pulsante per provare un esempio
|
| 217 |
+
with col1:
|
| 218 |
if st.button("Try an example"):
|
| 219 |
st.session_state['step'] = 5 # Passa al passo 5
|
| 220 |
st.rerun()
|
| 221 |
|
| 222 |
# Pulsante per tornare all'inizio
|
| 223 |
+
with col2:
|
| 224 |
if st.button("Return to the beginning"):
|
| 225 |
# Ripristina lo stato della sessione
|
| 226 |
st.session_state['step'] = 1
|