Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,10 +6,10 @@ def login_auth(username, password):
|
|
6 |
|
7 |
if username == password:
|
8 |
|
9 |
-
return
|
10 |
else:
|
11 |
|
12 |
-
return
|
13 |
|
14 |
with gr.Blocks() as iface:
|
15 |
with gr.Row(visible=False) as app_row:
|
|
|
6 |
|
7 |
if username == password:
|
8 |
|
9 |
+
return gr.Row(visible=False), gr.Row(visible=True)
|
10 |
else:
|
11 |
|
12 |
+
return gr.Row(visible=True), gr.Row(visible=False)
|
13 |
|
14 |
with gr.Blocks() as iface:
|
15 |
with gr.Row(visible=False) as app_row:
|