Streamlit Chat-bot with Mistral.ai free API into a standalone Windows Desktop App
-
Clone the repo
-
create the virtual environment
python -m venv venv- activate the virtual environment
.\venv\Scripts\activate- Install the dependencies
pip install streamlit mistralai streamlit-desktop-app- from the terminal with the venv activated, run
streamlit-desktop-app.exe build .\MistralREMOTE.py --name Mistral_Desktop --pyinstaller-options --onefile --collect-all streamlit --hidden-import mistralai --add-data user.png:. --add-data assistant.png:. -i .\assistant.ico --hidden-import PIL --add-data mistralai.png:. --add-data mistral-banner.png:.Two new sub-directory will be created:
- build (building files)
- dist (our
.exefile will be here

