Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
navjotk
/
ml1
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
ml1
/
app.py
navjotk
Update app.py
1cdd642
verified
5 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
197 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()