Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
tdurbor
/
vanilla
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
d090151
vanilla
/
app.py
tdurbor
Upload folder using huggingface_hub
d090151
verified
4 months ago
raw
Copy download link
history
blame
Safe
207 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()