Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
keras-io
/
text-generation
like
3
Build error
App
Files
Files
Community
1
Fetching metadata from the HF Docker repository...
dcdaaec
text-generation
/
app.py
Jezia
Create app.py
dcdaaec
about 3 years ago
raw
Copy download link
history
blame
Safe
Wrap lines
149 Bytes
import
gradio
as
gr
def
greet
(
name
):
return
"Hello "
+ name +
"!!"
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()