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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -105,8 +105,8 @@ def main():
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()
111
  if ok:
112
  input_ids = tokenizer(text, return_tensors='pt').input_ids
 
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()
111
  if ok:
112
  input_ids = tokenizer(text, return_tensors='pt').input_ids