dwipper commited on
Commit
6dbce9b
1 Parent(s): 8f2bc38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,10 +6,10 @@ def login_auth(username, password):
6
 
7
  if username == password:
8
 
9
- return {login_row: gr.Row(visible=False), app_row: gr.Row(visible=True)}
10
  else:
11
 
12
- return {login_row: gr.Row(visible=True), app_row: gr.Row(visible=False)}
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: