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