Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
gradio
/
hello_world_4
like
1
Running
App
Files
Files
Community
1
678b958
hello_world_4
/
app.py
abidlabs
HF staff
Create app.py
52218c3
8 months ago
raw
Copy download link
history
blame
No virus
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()