You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However now it appears that the Path(file).parent or Path("file").parent trick does not work for me. Did recently change to using pd.read_pickle. Just wanted to point to a time in which app working reading in data.
The text was updated successfully, but these errors were encountered:
I've also tested locally with the shinylive python package 0.6.0, and running shinylive export works fine with the same files.
If you are running into the problem upon a redployment using a new version of shinylive, it's possible that it's due to some incompatibility in the pickled model object. I'm guessing it's from the statsmodels package?
A recent version of shinylive updated to Pyodide 0.26.2, which has Python 3.12.1, and it includes statsmodels version 0.14.2. If your pickle file was made with a different version of Python and/or statsmodels, then it might not load properly with the updated versions of Python and statsmodels. If that's the case, I suggest recreating the model with those versions of Python and statsmodels.
I had previously deployed to GitHub pages using this app,
https://github.com/erikhall6373/heisman/blob/4820a8d252ae87b939719236f4bde2497396434f/Shiny_App/app.py
However now it appears that the Path(file).parent or Path("file").parent trick does not work for me. Did recently change to using pd.read_pickle. Just wanted to point to a time in which app working reading in data.
The text was updated successfully, but these errors were encountered: