import streamlit as st from auth import authenticator tok=os.getenv("TOK") def REGISTER(): with st.container(border=True): try: if authenticator.register_user('Register'): st.success("User registered successfully!") except Exception as e: st.error(e)