Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
songweig
/
rich-text-to-image
like
278
Runtime error
App
Files
Files
Community
29
3c42b4c
rich-text-to-image
/
app.py
songweig
Create app.py
3c42b4c
over 1 year ago
raw
Copy download link
history
blame
Safe
149 Bytes
import
gradio
as
gr
def
greet
(
name
):
return
"Hello "
+ name +
"!!"
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()