Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -164,18 +164,11 @@ 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)
|
170 |
-
corrected_sentences = gf.correct(influent_sentence, max_candidates=1)
|
171 |
-
```
|
172 |
-
""")
|
173 |
-
|
174 |
examples = [
|
175 |
-
"
|
176 |
-
"
|
177 |
-
"
|
178 |
-
"
|
179 |
]
|
180 |
|
181 |
if not st.session_state['models_loaded']:
|
|
|
164 |
|
165 |
st.title('Grammaer Styler')
|
166 |
st.subheader('Grammar and sentence structure restyler')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
examples = [
|
168 |
+
"Hey why yu be hatin on me all da time",
|
169 |
+
"Been spendin my whole life jus to her dat song",
|
170 |
+
"whatdjya think about dat?",
|
171 |
+
"Lets git sum holesome waves and go surfin"
|
172 |
]
|
173 |
|
174 |
if not st.session_state['models_loaded']:
|