File size: 264 Bytes
db2f6ec
bcaf841
db2f6ec
6308316
 
 
bcaf841
db2f6ec
d735449
35a0487
 
 
 
 
 
 
 
0aaaa8b
db2f6ec
 
0aaaa8b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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()