Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Yanjo
/
demo
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
b8631c5
demo
/
app.py
John Yan
Add application file
27f66e6
about 2 years ago
raw
Copy download link
history
blame
170 Bytes
import
gradio
as
gr
def
greet
(
name
):
return
"Hello "
+ name +
"!!"
+
"and hello world"
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()