diff --git a/app.py b/app.py index 401db6b..6fac2b1 100644 --- a/app.py +++ b/app.py @@ -18,7 +18,13 @@ authenticator = stauth.Authenticate( name, authentication_status, username = authenticator.login('Logga in', 'main') if authentication_status: + + # Say hello + st.write(f'**Hej {name}!**') + + # Ask for input user_input = str(st.text_input('Skriv in telefonnummer eller Facebook-ID', )).strip() + if user_input != '': s = [] for i in user_input: @@ -42,7 +48,7 @@ if authentication_status: st.dataframe(r['df'], use_container_width=True) else: st.text('Not found.') - st.markdown(':red[Vid frågor mejla lasse@edfast.se]') + elif authentication_status is False: st.error('Fel användarnamn/lösenord')