Soumen commited on
Commit
96ca6f6
1 Parent(s): b3eadf5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -103,9 +103,8 @@ def main():
103
  blob = TextBlob(text)
104
  result_sentiment = blob.sentiment
105
  st.success(result_sentiment)
106
- #Text Corrections
107
- if st.checkbox("Spell Corrections"):
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()