Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Load a free, public text-generation model
|
5 |
-
pipe = pipeline("text-generation",
|
6 |
|
7 |
# Define your function
|
8 |
def respond(prompt):
|
|
|
2 |
from transformers import pipeline
|
3 |
|
4 |
# Load a free, public text-generation model
|
5 |
+
pipe = pipeline("text-generation",model = "prithivida/grammar_error_correcter_v1")
|
6 |
|
7 |
# Define your function
|
8 |
def respond(prompt):
|