Spaces:
Runtime error
Runtime error
Commit
·
c1dad72
1
Parent(s):
b48f9b8
Update app.py
Browse files
app.py
CHANGED
|
@@ -87,13 +87,13 @@ def main():
|
|
| 87 |
app_mode = st.sidebar.selectbox("Choose the app mode",
|
| 88 |
["Instructions", "Generate User Visit History", "Train Model", "Predict Conversion"])
|
| 89 |
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
|
| 98 |
elif app_mode == "Generate User Visit History":
|
| 99 |
st.subheader("Generate User Visit History")
|
|
|
|
| 87 |
app_mode = st.sidebar.selectbox("Choose the app mode",
|
| 88 |
["Instructions", "Generate User Visit History", "Train Model", "Predict Conversion"])
|
| 89 |
|
| 90 |
+
if app_mode == "Instructions":
|
| 91 |
+
st.write("Welcome to the Markov Chain Classifier app!")
|
| 92 |
+
st.write("This app allows you to generate user visit history, train a Markov Chain Classifier model, and predict conversion.")
|
| 93 |
+
st.write("To get started, use the sidebar to navigate to the desired functionality.")
|
| 94 |
+
st.write("1. **Generate User Visit History**: Select the number of users and conversion rate, and click the 'Generate' button to generate user visit history.")
|
| 95 |
+
st.write("2. **Train Model**: Upload an ML config file using the file uploader, and click the 'Train' button to train the Markov Chain Classifier model.")
|
| 96 |
+
st.write("3. **Predict Conversion**: Upload an ML config file using the file uploader, and click the 'Predict' button to make predictions with the trained model.")
|
| 97 |
|
| 98 |
elif app_mode == "Generate User Visit History":
|
| 99 |
st.subheader("Generate User Visit History")
|