Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
fengfeng2
/
QiLinWu
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
a92b6ad
QiLinWu
/
app.py
fengfeng2
'1'
a92b6ad
5 months ago
raw
Copy download link
history
blame
Safe
216 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(share=
True
)