Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from transformers import pipeline
|
|
3 |
import difflib
|
4 |
|
5 |
# Use a solid grammar correction + improvement model
|
6 |
-
pipe = pipeline("text2text-generation", model="pszemraj/flan-t5-
|
7 |
|
8 |
def respond(prompt):
|
9 |
# Generate revised essay
|
|
|
3 |
import difflib
|
4 |
|
5 |
# Use a solid grammar correction + improvement model
|
6 |
+
pipe = pipeline("text2text-generation", model="pszemraj/flan-t5-large-grammar-synthesis")
|
7 |
|
8 |
def respond(prompt):
|
9 |
# Generate revised essay
|