Team Ai
Apppublic

MachineLearningReply/search_mlReply

sourceHugging Faceupdated 3y agoView on Hugging Face
1likes
generate_keys.py15 linesDownload Raw Back to root
1# -*- coding: utf-8 -*-2 3import pickle4from pathlib import Path5 6import streamlit_authenticator as stauth7 8names = ['mlreply']9usernames = ['mlreply']10passwords = ['mlreply1']11 12hashed_passwords = stauth.Hasher((passwords)).generate()13 14with open('hashed_password.pkl','wb') as f:15    pickle.dump(hashed_passwords, f)