Closed fsmosca closed 5 months ago
Dear @fsmosca, please make sure to save changes to the config file after every widget as shown below:
with open('../config.yaml', 'w') as file:
yaml.dump(config, file, default_flow_style=False)
This is to ensure that the new 'ID' field that is being automatically generated will be saved to the config file.
Where do we need to write this plz ?
You can write it at the end of your script, please refer to this file as an example.
Dear @fsmosca and @SGaryx, I have decided to axe Streamlit-Authenticator v0.2.5 and instead replace it with v0.3.1 to resolve this issue. Please download this latest version.
Thanks for the update, I will try that.
Thanks for the update.
I tried the new 0.2.5 with streamlit 1.30.0 locally and got this error after successful login and pressing the refresh button of the browser.
How to handle that? I quit streamlit and run it again and I got the same error. I could no longer view the page correctly.
Sample code.
main.py
config.yaml
Both config.yaml and main.py are located on same folder.
Sample credential.
requirements.txt