Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -287,11 +287,12 @@ def check_password(password):
|
|
287 |
|
288 |
# Gradio app with password protection
|
289 |
with gr.Blocks() as demo:
|
290 |
-
# Login interface (
|
291 |
with gr.Row(visible=True) as login_interface:
|
292 |
-
|
293 |
-
|
294 |
-
|
|
|
295 |
|
296 |
# Main app interface (hidden by default)
|
297 |
with gr.Row(visible=False) as main_interface:
|
|
|
287 |
|
288 |
# Gradio app with password protection
|
289 |
with gr.Blocks() as demo:
|
290 |
+
# Login interface (visible by default)
|
291 |
with gr.Row(visible=True) as login_interface:
|
292 |
+
with gr.Column():
|
293 |
+
password_input = gr.Textbox(label="Enter Password", type="password")
|
294 |
+
login_button = gr.Button("Login")
|
295 |
+
login_status = gr.Textbox(label="Login Status", interactive=False)
|
296 |
|
297 |
# Main app interface (hidden by default)
|
298 |
with gr.Row(visible=False) as main_interface:
|