Unable to rerun modules files in localhost
yvann-ba opened this issue · comments
Unable to rerun the files in the modules folder in localhost with the restructured folder, any ideas @gabacode ?
Hello @yvann-hub , does it give any error in particular?
I can run it in local with this process:
python3 -m venv ./venv
source ./venv/bin/activate
pip install -r requirements.txt
streamlit run src/chatbot_csv.py
Hey @gabacode, Yes I can launch also without problem, the problem is at the level of the update of the files at the time of the modifications in local, if I bring modifications to the principal file I can rerun the page in localhost but if the modifications are on functions of the modules folder they are not updated what makes that it is necessary to re-launch a new page localhost. I have searched but I did not really find efficient answers, it is possible that streamlit does not support asynchronous functions very well
Is this something that was working before?
Yes absolutely I had the same problem before, streamlit can not take into account the changes made to modules imported into the main file in real time
fix with reload modules function in chatbot_csv