Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
ahmed13377
/
Sum101
like
1
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
fe1be53
Sum101
/
app.py
Ahmed
Create app.py
fe1be53
verified
about 1 year ago
raw
Copy download link
history
blame
Safe
205 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()