Spaces:
Running
Running
File size: 257 Bytes
bfab423 | 1 2 3 4 5 6 7 8 9 | # auth.py
import gradio as gr
PASSWORD = "alivio0000"
def check_password(pwd):
if pwd == PASSWORD:
return gr.update(visible=False), gr.update(visible=True), ""
return gr.update(visible=True), gr.update(visible=False), "Incorrect password." |