Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
gradio
/
hello_world_4
like
2
Running
App
Files
Files
Community
3
refs/pr/1
hello_world_4
/
app.py
abidlabs
HF staff
Create app.py
52218c3
11 months ago
raw
Copy download link
history
blame
Safe
200 Bytes
import
gradio
as
gr
def
greet
(
name, intensity
):
return
"Hello "
* intensity + name +
"!"
demo = gr.Interface(
fn=greet,
inputs=[
"text"
,
"slider"
],
outputs=[
"text"
],
)
demo.launch()