awacke1 commited on
Commit
63e3495
โ€ข
1 Parent(s): a40bda9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -15
app.py CHANGED
@@ -162,10 +162,8 @@ def get_correction(input_text):
162
 
163
  if __name__ == "__main__":
164
 
165
- st.title('Gramformer - A Python library')
166
- st.subheader('To detect and correct grammar errors')
167
- st.markdown("Built with ๐Ÿ’™ by Prithivi Da, The maker of [WhatTheFood](https://huggingface.co/spaces/prithivida/WhatTheFood), [Styleformer](https://github.com/PrithivirajDamodaran/Styleformer) and [Parrot paraphraser](https://github.com/PrithivirajDamodaran/Parrot_Paraphraser) | [Checkout the GitHub page for details](https://github.com/PrithivirajDamodaran/Gramformer) | โœ๏ธ [@prithivida](https://twitter.com/prithivida) ", unsafe_allow_html=True)
168
- st.markdown("<p style='color:blue; display:inline'> Integrate with your app with just 2 lines of code </p>", unsafe_allow_html=True)
169
  st.markdown("""
170
  ```python
171
  gf = Gramformer(models = 1, use_gpu=False)
@@ -177,17 +175,7 @@ if __name__ == "__main__":
177
  "what be the reason for everyone leave the comapny",
178
  "They're house is on fire",
179
  "Look if their is fire on the top",
180
- "Where is you're car?",
181
- "Its going to rain",
182
- "Feel free reach out to me",
183
- "Life is shortest so live freely",
184
- "We do the boy actually stole the books",
185
- "I am doing fine. How is you?",
186
- "Each of you all should run fast",
187
- "Matt like fish",
188
- "We enjoys horror movies",
189
- "I walk to the store and I bought milk",
190
- " We all eat the fish and then made dessert",
191
  ]
192
 
193
  if not st.session_state['models_loaded']:
 
162
 
163
  if __name__ == "__main__":
164
 
165
+ st.title('Grammaer Styler')
166
+ st.subheader('Grammar and sentence structure restyler')
 
 
167
  st.markdown("""
168
  ```python
169
  gf = Gramformer(models = 1, use_gpu=False)
 
175
  "what be the reason for everyone leave the comapny",
176
  "They're house is on fire",
177
  "Look if their is fire on the top",
178
+ "Where is you're car?"
 
 
 
 
 
 
 
 
 
 
179
  ]
180
 
181
  if not st.session_state['models_loaded']: