dwipper commited on
Commit
9d06db6
·
1 Parent(s): e95ec56

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -7
app.py CHANGED
@@ -6,13 +6,9 @@ def login_auth(username, password):
6
 
7
  if username == password:
8
 
9
- #gr.Info("Login Success")
10
-
11
- return {login_row: gr.Row(visible=False), app_row: gr.Row(visible=True)}
12
-
13
- #gr.Info("Login Failed")
14
- print(f"Invalid user/password combination")
15
-
16
  return {login_row: gr.Row(visible=True), app_row: gr.Row(visible=False)}
17
 
18
  with gr.Blocks() as iface:
 
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: