Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
gradio/hello_world_4
dawood
/
hello_world
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
c09eb20
hello_world
/
app.py
dawood
HF Staff
AI: Update app.py
4805bfa
verified
5 months ago
raw
Copy download link
history
blame
Safe
196 Bytes
import
gradio
as
gr
def
greet
(
name, intensity
):
return
"Hi "
* intensity + name +
"!"
demo = gr.Interface(
fn=greet,
inputs=[
"text"
,
"slider"
],
outputs=[
"text"
],
)
demo.launch()