Spaces:
Running
Running
| # 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." |