Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
bobby20180331
/
gradio
like
0
Sleeping
App
Files
Files
Community
2
Fetching metadata from the HF Docker repository...
refs/pr/2
gradio
/
gapp.py
bobby20180331
Upload folder using huggingface_hub
6d97dd7
verified
about 1 year ago
raw
Copy download link
history
blame
Safe
206 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()