Spaces:
Running
Running
Commit
·
fdb0c81
1
Parent(s):
9bb3988
Update app.py
Browse files
app.py
CHANGED
@@ -103,9 +103,9 @@ st.sidebar.title("Options")
|
|
103 |
training_mode = st.sidebar.radio("Select training mode", ["None", "Dropout", "Batch Normalization"])
|
104 |
|
105 |
if training_mode == 'None':
|
106 |
-
user_choice
|
107 |
elif training_mode == "Dropout" or "Batch Normalization":
|
108 |
-
user_choice
|
109 |
|
110 |
|
111 |
# Display the current training mode and user choice
|
|
|
103 |
training_mode = st.sidebar.radio("Select training mode", ["None", "Dropout", "Batch Normalization"])
|
104 |
|
105 |
if training_mode == 'None':
|
106 |
+
user_choice = 'Predict'
|
107 |
elif training_mode == "Dropout" or "Batch Normalization":
|
108 |
+
user_choice = 'Train'
|
109 |
|
110 |
|
111 |
# Display the current training mode and user choice
|