Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -123,8 +123,14 @@ def predict_rating(review_text, model=None, vectorizer=None):
|
|
| 123 |
#main function
|
| 124 |
def main():
|
| 125 |
st.title("Microsoft 365 Review Predictor")
|
| 126 |
-
|
| 127 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 128 |
|
| 129 |
#calling trained model and vectorizer function
|
| 130 |
model, vectorizer = train_model()
|
|
|
|
| 123 |
#main function
|
| 124 |
def main():
|
| 125 |
st.title("Microsoft 365 Review Predictor")
|
| 126 |
+
|
| 127 |
+
#displaying test cases used to test the algorithm
|
| 128 |
+
st.write(f"\nTest Cases used:")
|
| 129 |
+
st.write(f"\n5: Happy with subscription so far but haven't explored all the offerings so far.")
|
| 130 |
+
st.write(f"\n4: i really like this app because it help to complete my work on time.")
|
| 131 |
+
st.write(f"\n3: Benefits outweigh the usage. Everyone uses it now.")
|
| 132 |
+
st.write(f"\n2: Was not good.")
|
| 133 |
+
st.write(f"\n1: Slow not intuitive compared to the Apple alternatives, The software slows the computer down to such slow speeds")
|
| 134 |
|
| 135 |
#calling trained model and vectorizer function
|
| 136 |
model, vectorizer = train_model()
|