satpalsr commited on
Commit
c065568
·
1 Parent(s): a501439

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def echo(name, request: gr.Request):
10
  def verify_auth(username, password):
11
  # if dict(request.headers)['origin'] in os.environ["ORIGIN"]:
12
  # return True
13
- elif username=="admin" and password=="admin":
14
  return True
15
  else:
16
  return False
 
10
  def verify_auth(username, password):
11
  # if dict(request.headers)['origin'] in os.environ["ORIGIN"]:
12
  # return True
13
+ if username=="admin" and password=="admin":
14
  return True
15
  else:
16
  return False