gradio_auth / app.py
osanseviero's picture
Update app.py
10c6b80
raw
history blame contribute delete
207 Bytes
import gradio as gr
def reverse(text):
return text[::-1]
demo = gr.Interface(reverse, "text", "text")
demo.launch(debug=True, enable_queue=False, auth=("username", "password"), auth_message="Try this")