lterriel commited on
Commit
1b0028c
1 Parent(s): b9f0782

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -418,7 +418,7 @@ if option == "Global project statistics":
418
  data = project
419
  if mode == "INCEpTION API Host remote":
420
  username = sidebar.text_input("Username: ")
421
- password = sidebar.text_input("Password: ")
422
  data = (username, password)
423
 
424
  # Validate inputs
@@ -431,7 +431,7 @@ if option == "Global project statistics":
431
  init_session_statistics(remote=False, local=True, data=data)
432
 
433
  # Access data with remote ressources
434
- if btn_process and mode == "API Host remote":
435
  if data is not None:
436
  if check_login(username=data[0], password=data[1]):
437
  # create a new session
 
418
  data = project
419
  if mode == "INCEpTION API Host remote":
420
  username = sidebar.text_input("Username: ")
421
+ password = sidebar.text_input("Password: ", type='password')
422
  data = (username, password)
423
 
424
  # Validate inputs
 
431
  init_session_statistics(remote=False, local=True, data=data)
432
 
433
  # Access data with remote ressources
434
+ if btn_process and mode == "INCEpTION API Host remote":
435
  if data is not None:
436
  if check_login(username=data[0], password=data[1]):
437
  # create a new session