Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -67,7 +67,7 @@ models = {
|
|
| 67 |
}
|
| 68 |
|
| 69 |
# Allow the user to select a model from the sidebar
|
| 70 |
-
|
| 71 |
|
| 72 |
# Retrieve the selected model and its type from the dictionary
|
| 73 |
model = models[model_name]['Logistic Regression']
|
|
|
|
| 67 |
}
|
| 68 |
|
| 69 |
# Allow the user to select a model from the sidebar
|
| 70 |
+
model_name = st.sidebar.selectbox('Logistic Regression', list(models.keys()))
|
| 71 |
|
| 72 |
# Retrieve the selected model and its type from the dictionary
|
| 73 |
model = models[model_name]['Logistic Regression']
|