Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
litifeng
/
study-space
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
4a2c2fa
study-space
/
app.py
litifeng
create a quickstart code
4a2c2fa
verified
7 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,
input
=[
"text"
,
"slider"
],
output=[
"text"
],
)
demo.launch()