Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
willhill
/
gradio_1
like
0
Sleeping
App
Files
Files
Community
willhill
commited on
Jul 2, 2023
Commit
b82927d
•
1 Parent(s):
7421eb0
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+5
-0
app.py
ADDED
Viewed
@@ -0,0 +1,5 @@
1
+
import gradio as gr
2
+
def reverse(text):
3
+
return text[::-1]
4
+
demo = gr.Interface(reverse, "text", "text")
5
+
demo.launch(share=True, auth=("username", "password"))