Update app.py
Browse files
app.py
CHANGED
@@ -103,9 +103,8 @@ def main():
|
|
103 |
blob = TextBlob(text)
|
104 |
result_sentiment = blob.sentiment
|
105 |
st.success(result_sentiment)
|
106 |
-
|
107 |
-
|
108 |
-
st.success(TextBlob(text).correct())
|
109 |
if st.checkbox("Text Generation"):
|
110 |
ok = st.button("Generate")
|
111 |
tokenizer, model = load_models()
|
|
|
103 |
blob = TextBlob(text)
|
104 |
result_sentiment = blob.sentiment
|
105 |
st.success(result_sentiment)
|
106 |
+
if st.checkbox("Spell Corrections"):
|
107 |
+
st.success(TextBlob(text).correct())
|
|
|
108 |
if st.checkbox("Text Generation"):
|
109 |
ok = st.button("Generate")
|
110 |
tokenizer, model = load_models()
|