Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
sarwansingh
/
gradio1
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
f591632
gradio1
/
app.py
sarwansingh
Create app.py
f591632
verified
7 months ago
raw
Copy download link
history
blame
Safe
218 Bytes
import
gradio
as
gr
def
greet
(
name, intensity
):
return
"Hello, "
+ name +
"!"
*
int
(intensity)
demo = gr.Interface( fn=greet, inputs=[
"text"
,
"slider"
], outputs=[
"text"
],
)
demo.launch()