AIMage2024 commited on
Commit
d2f896d
·
verified ·
1 Parent(s): 3b1c2b5

Update gradio_app.py

Browse files
Files changed (1) hide show
  1. gradio_app.py +4 -3
gradio_app.py CHANGED
@@ -87,9 +87,10 @@ def get_parser():
87
  return parser
88
 
89
  def check_auth(username, password):
90
- if os.getenv(username) is not None:
91
- return os.getenv(username) == password
92
- return False
 
93
  if __name__ == "__main__":
94
  parser = get_parser()
95
  args = parser.parse_args()
 
87
  return parser
88
 
89
  def check_auth(username, password):
90
+
91
+ # if os.getenv(username) is not None:
92
+ return os.getenv(username) == password
93
+ # return False
94
  if __name__ == "__main__":
95
  parser = get_parser()
96
  args = parser.parse_args()