Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
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
over 1 year ago
raw
Copy download link
history
blame
contribute
delete
Safe
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()