Spaces:
Running
Running
Update ui.py
Browse files
ui.py
CHANGED
@@ -22,10 +22,10 @@ def InitSession():
|
|
22 |
|
23 |
InitSession()
|
24 |
|
25 |
-
name, auth_status, username = authenticator.login('
|
26 |
|
27 |
try:
|
28 |
-
registration_success = authenticator.register_user("
|
29 |
except Exception as e:
|
30 |
registration_success = False
|
31 |
st.error(f"Registration error: {e}")
|
|
|
22 |
|
23 |
InitSession()
|
24 |
|
25 |
+
name, auth_status, username = authenticator.login('main', fields={'Form name': 'Login'})
|
26 |
|
27 |
try:
|
28 |
+
registration_success = authenticator.register_user("main")
|
29 |
except Exception as e:
|
30 |
registration_success = False
|
31 |
st.error(f"Registration error: {e}")
|