broadfield-dev commited on
Commit
0cb08b4
Β·
verified Β·
1 Parent(s): 2a7a99e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,9 +8,9 @@ example_db = {"USER":"TestUser","PASS":"TestPass"}
8
 
9
  def login_fn(username,password):
10
  if username==example_db.get("USER") and password==example_db.get("PASS"):
11
- return gr.update("### βœ… Logged in")
12
  else:
13
- return gr.update("### πŸ›‘ Incorrect Username or Password")
14
 
15
  def process_image_and_display_payload(image):
16
  if image is None:
 
8
 
9
  def login_fn(username,password):
10
  if username==example_db.get("USER") and password==example_db.get("PASS"):
11
+ return "### βœ… Logged in"
12
  else:
13
+ return "### πŸ›‘ Incorrect Username or Password"
14
 
15
  def process_image_and_display_payload(image):
16
  if image is None: