Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
xm124
/
create-qa
like
0
Sleeping
App
Files
Files
Community
main
create-qa
/
app.py
xm124
Create app.py
d35cd65
verified
8 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
150 Bytes
import
gradio
as
gr
def
greet
(
name
):
return
"你好 "
+ name +
"!!"
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()