grammer / app.py
xy4286's picture
Update app.py
bcaf841 verified
raw
history blame
264 Bytes
import gradio as gr
from transformers import pipeline
demo = gr.load("xy4286/yang-grammer-check", src="models")
def greet(name):
return "Hello " + name + "!"
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
demo.launch()
# gr.Textbox()