Update app.py
Browse files
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 |
-
|
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
|