Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
willhill
/
gradio_1
like
0
Sleeping
App
Files
Files
Community
fba40b2
gradio_1
/
app.py
willhill
Update app.py
fba40b2
over 1 year ago
raw
Copy download link
history
blame
149 Bytes
import
gradio
as
gr
def
reverse
(
text
):
return
text[::-
1
]
demo = gr.Interface(reverse,
"text"
,
"text"
)
demo.launch( auth=(
"username"
,
"password"
))