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() |