Spaces:
Running
Running
Initial commit
Browse files
app.py
CHANGED
@@ -165,8 +165,8 @@ if __name__ == "__main__":
|
|
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("""
|
169 |
-
**Integrate with your app with just 2 lines of code**
|
170 |
```python
|
171 |
gf = Gramformer(models = 1, use_gpu=False)
|
172 |
corrected_sentences = gf.correct(influent_sentence, max_candidates=1)
|
|
|
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)
|
172 |
corrected_sentences = gf.correct(influent_sentence, max_candidates=1)
|