Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Boadiwaa
/
Recipes
like
1
Sleeping
App
Files
Files
Community
main
Recipes
/
app.py
Boadiwaa
Create app.py
9becc28
verified
16 days ago
raw
history
blame
contribute
delete
No virus
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()