changxin commited on
Commit
bab32aa
·
1 Parent(s): e04f321

Create test.py

Browse files
Files changed (1) hide show
  1. test.py +5 -0
test.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ import gradio as gr
2
+ def fx(x):
3
+ return "你好:"+x
4
+
5
+ gr.Interface(fn=fx,inputs="text",outputs="text").launch(auth=("changxin", "123456"))