AI-Docwhiz / generate_keys.py
sourabhzanwar's picture
added changed username to app.py
98ebf64
# -*- coding: utf-8 -*-
import pickle
from pathlib import Path
import streamlit_authenticator as stauth
names = ['mlreply']
usernames = ['mlreply']
passwords = ['mlreply1']
hashed_passwords = stauth.Hasher((passwords)).generate()
with open('hashed_password.pkl','wb') as f:
pickle.dump(hashed_passwords, f)