TTsamurai commited on
Commit
1384ad3
·
1 Parent(s): 73b2ba7

add authorization

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1294,5 +1294,6 @@ if __name__ == "__main__":
1294
  user_list, demo_list = load_username_and_pwd()
1295
  demo.launch(
1296
  share=True,
1297
- # auth=user_list + demo_list + ["test", "test"],
 
1298
  )
 
1294
  user_list, demo_list = load_username_and_pwd()
1295
  demo.launch(
1296
  share=True,
1297
+ auth=("ecir_demo", "ecir_demo"), # user_list[0], user_list[1]
1298
+ auth_message="Please enter the username and password to access the demo.",
1299
  )