Nuno-Tome commited on
Commit
fffff42
Β·
1 Parent(s): 596475f

testing restart button

Browse files
Files changed (1) hide show
  1. app.py +7 -4
app.py CHANGED
@@ -75,14 +75,17 @@ def main():
75
  st.title("Bulk Image Classification DEMO")
76
  col1, col2 = st.columns([3, 1])
77
 
 
 
 
 
 
 
78
  with col1:
79
  st.markdown("This app uses several πŸ€— models to classify images stored in πŸ€— datasets.")
80
  st.write("Soon we will have a dataset template")
81
 
82
- ## Restart or reset your app
83
- #if st.button("Restart"):
84
- ## Code to restart or reset your app goes here
85
- # st.experimental_rerun()
86
 
87
  #Model
88
  chosen_model_name = st.selectbox("Select the model to use", MODELS, index=0)
 
75
  st.title("Bulk Image Classification DEMO")
76
  col1, col2 = st.columns([3, 1])
77
 
78
+ # Restart or reset your app
79
+ if st.button("Restart"):
80
+ # Code to restart or reset your app goes here
81
+ st.experimental_rerun()
82
+
83
+
84
  with col1:
85
  st.markdown("This app uses several πŸ€— models to classify images stored in πŸ€— datasets.")
86
  st.write("Soon we will have a dataset template")
87
 
88
+
 
 
 
89
 
90
  #Model
91
  chosen_model_name = st.selectbox("Select the model to use", MODELS, index=0)