Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
tommy24
/
flasktestgradio
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
bf93ff7
flasktestgradio
/
app.py
tommy24
Update app.py
bf93ff7
about 2 years ago
raw
Copy download link
history
blame
Safe
224 Bytes
import
gradio
as
gr
def
greet
(
name
):
return
"Hello, "
+ name +
"!"
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
, title=
"Greeting App"
, description=
"Enter your name and get a greeting!"
)
iface.launch()