MachineLearningReply/docwhiz
0
1# -*- coding: utf-8 -*-2 3import pickle4from pathlib import Path5 6import streamlit_authenticator as stauth7 8names = ['mlreply']9usernames = ['docwhiz']10passwords = ['Docwhiz']11 12hashed_passwords = stauth.Hasher((passwords)).generate()13 14with open('hashed_password.pkl','wb') as f:15 pickle.dump(hashed_passwords, f)