Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -1420,7 +1420,7 @@ with gr.Blocks() as demo:
|
|
1420 |
password = gr.Textbox(label="Password", type="password")
|
1421 |
login_button = gr.Button("Login")
|
1422 |
login_output = gr.Markdown()
|
1423 |
-
login_button.click(fn=check_login, inputs=[username, password], outputs=[login_output, login_row,
|
1424 |
|
1425 |
with gr.Column():
|
1426 |
gr.Markdown("### Create Account")
|
@@ -1462,3 +1462,4 @@ with gr.Blocks() as demo:
|
|
1462 |
|
1463 |
demo.queue()
|
1464 |
demo.launch(share=True)
|
|
|
|
1420 |
password = gr.Textbox(label="Password", type="password")
|
1421 |
login_button = gr.Button("Login")
|
1422 |
login_output = gr.Markdown()
|
1423 |
+
login_button.click(fn=check_login, inputs=[username, password], outputs=[login_output, login_row, gr.update(visible=True)])
|
1424 |
|
1425 |
with gr.Column():
|
1426 |
gr.Markdown("### Create Account")
|
|
|
1462 |
|
1463 |
demo.queue()
|
1464 |
demo.launch(share=True)
|
1465 |
+
|