Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
changxin
/
pq
like
0
Build error
App
Files
Files
Community
1
changxin
commited on
Jun 19, 2022
Commit
4087097
•
1 Parent(s):
bab32aa
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+5
-0
app.py
ADDED
Viewed
@@ -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"))