Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
cnealex
/
demo
like
0
Runtime error
App
Files
Files
Community
1
d85379c
demo
/
app.py
cnealex
Update app.py
d85379c
verified
8 months ago
raw
Copy download link
history
blame
Safe
183 Bytes
import
gradio
as
gr
from
transformers
import
pipeline
def
greet
(
name
):
return
"Hello "
+ name +
"!!"
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()