My streamlit was able to run locally but I would like to deploy it.
I have a line “import tensorflow as tf”. The entire web breaks.
Can someone help?
Hi @hahahazel -
Do you have a requirements file in your repo that installs tensorflow and any additional requirements your app needs?
Best,
Randy
Hi Randy,
Yes. They are here https://github.com/igivis7/DRS28_Hazel_n_Igor_portfolio_project
It seems like ‘import tensorflow as tf’ is causing problem.
Many thanks,
Hazel
If I understand this correctly, your versions of tensorflow, etc. are mostly pretty modern. It may be that your deployment environment is only compatible with older versions. You should do a pip freeze there.
pandas==1.3.0
numpy==1.19.5
scikit-learn==1.0.1
matplotlib==3.5.0
matplotlib-inline==0.1.3
seaborn==0.11.1
cbor2==5.4.2
tensorflow==2.6.0
tensorboard==2.6.0
streamlit==1.2.0
edge_impulse_linux==1.0.6
tqdm==4.62.3
pyserial==3.5
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.