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:
Tonic
/
echo
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
echo
/
app.py
Tonic
Update app.py
c2bec13
verified
about 2 years ago
Raw
Download with hf CLI
Copy download link
History
Blame
Contribute
Delete
197 Bytes
import
gradio
as
gr
def
echo
(
echo, slider
):
return
f"Echo:
{echo}
, Intensity:
{slider}
"
demo = gr.Interface(
fn=echo,
inputs=[
"text"
,
"slider"
],
outputs=[
"text"
],
)
demo.launch()