Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
mksaad
/
greeting
like
0
Sleeping
App
Files
Files
Community
main
greeting
/
app.py
mksaad
Create app.py
bec273e
verified
4 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
209 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()