The car price prediction model has been trained and pickled. ModuleNotFoundError: pops up, seems like cannot open pickled model
Steps to reproduce
Please complete the form to select the car and details at my carpriceprediction and press the button to predict price.
Normally, in my computer I got a predicted price of the used car in my country
However, the app deployed in streamlit cloud cannot load the trained model to predict the price.
- Streamlit version: (get it with
$ streamlit version)
- Python version: (get it with
$ python --version)
- Using Conda? PipEnv? PyEnv? Pex?
- OS version:
- Browser version:
Using Conda? PipEnv? PyEnv? Pex? Share the contents of your requirements file here.
Not sure what a requirements file is? Check out this doc and add a requirements file to your app.
* Link to your GitHub repo:
If needed, add any other context about the problem here.
Hi @elnur86 it seems that you are missing requirements.txt in your github repository. When you add one:
The app works just fine (my fork of your app): https://tomjohnh-carpriceprediction-project-uugu74.streamlit.app/
Thank you very much, I totally missed the requirements file.
Can I ask one more support regarding streamlit theming? I cannot load .streamlit/config.toml to github. Is there any way to do it?
Yes, of course you can. Add the file to your local repository and make a
Alternatively, you can manually create a config file on Github.
Thank you Franky, thank you Tom.
Now I have .streamlit/config.toml file but it doesn’t really changing the color.
Your support is highly appreciated
Please try to reboot the app
Thank you again.
Your support much appreciated. The color has been changed.