I would like to load pickle files from my github repository, the file is called is located within a folder named Results.
Locally, running the streamlit in a web browser works really well, but I am having trouble with streamlit teams. The error message is vague:
Whoops — something went wrong! An error has been logged.
I have tried the following combinations
df = st.pd.read_pickle('Results\\mypicklefile') df = pd.read_pickle('https://github.com/user/mydirectoryname/raw/main/Results/mypicklefile') pickle_file = open("Results\\mypicklefile", "rb") df = pickle.load(pickle_file) df = pickle.load(open('Results\\mypicklefile','rb')) with open("Results/mypicklefile.pkl", 'rb') as pfile: df=pickle.load(pfile)
I am using python 3.8 and the default settings to save pickle files. I do not wish to switch to 3.7.
Advice on how to proceed would be greatly appreciated.