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