Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
msabia
/
test
like
0
Build error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
test
/
app.py
msabia
Create app.py
df1b82e
verified
almost 2 years ago
Raw
Download with hf CLI
Copy download link
History
Blame
Contribute
Delete
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()