Hello everyone,
Streamlit theme is not updated after deployment part using “Heroku” but theme gets automatically updated on my local machine. Updated config.toml file as well.
Please reply to me as soon as possible.
Regards,
Deepika
Hello everyone,
Streamlit theme is not updated after deployment part using “Heroku” but theme gets automatically updated on my local machine. Updated config.toml file as well.
Please reply to me as soon as possible.
Regards,
Deepika
Hi,
I assume you use requirements.txt for deployment, can you show the file content?
I assume you sued pip freeze to create the requirements.txt and it may created a requirements file which will install an older version
Requirements.txt content:
geopy==2.1.0
folium==0.12.1
streamlit_folium==0.4.0
altair==4.1.0
argon2-cffi==20.1.0
astor==0.8.1
async-generator==1.10
attrs==21.2.0
backcall==0.2.0
base58==2.1.0
bleach==3.3.0
blinker==1.4
cachetools==4.2.2
certifi==2020.12.5
cffi==1.14.5
chardet==4.0.0
click==7.1.2
colorama==0.4.4
decorator==5.0.9
defusedxml==0.7.1
entrypoints==0.3
gitdb==4.0.7
GitPython==3.1.17
idna==2.10
importlib-metadata==4.0.1
importlib-resources==5.1.4
ipykernel==5.5.5
ipython==7.16.1
ipython-genutils==0.2.0
ipywidgets==7.6.3
jedi==0.18.0
Jinja2==3.0.1
joblib==1.0.1
jsonschema==3.2.0
jupyter-client==6.1.12
jupyter-core==4.7.1
jupyterlab-pygments==0.1.2
jupyterlab-widgets==1.0.0
lightgbm==3.2.1
MarkupSafe==2.0.1
mistune==0.8.4
nbclient==0.5.3
nbconvert==6.0.7
nbformat==5.1.3
nest-asyncio==1.5.1
notebook==6.4.0
numpy==1.19.5
packaging==20.9
pandas==1.1.5
pandocfilters==1.4.3
parso==0.8.2
pickleshare==0.7.5
Pillow==8.2.0
prometheus-client==0.10.1
prompt-toolkit==3.0.18
protobuf==3.17.0
pyarrow==4.0.0
pycparser==2.20
pydeck==0.6.2
Pygments==2.9.0
pyparsing==2.4.7
pyrsistent==0.17.3
python-dateutil==2.8.1
pytz==2021.1
pyzmq==22.0.3
requests==2.25.1
scikit-learn==0.24.2
scipy==1.5.4
Send2Trash==1.5.0
six==1.16.0
sklearn==0.0
smmap==4.0.0
streamlit==0.82.0
streamlit-theme==0.58.0
terminado==0.10.0
testpath==0.5.0
threadpoolctl==2.1.0
toml==0.10.2
toolz==0.11.1
tornado==6.1
traitlets==4.3.3
typing-extensions==3.10.0.0
tzlocal==2.1
urllib3==1.26.4
validators==0.18.2
watchdog==2.1.2
wcwidth==0.2.5
webencodings==0.5.1
widgetsnbextension==3.5.1
wincertstore==0.2
zipp==3.4.1
Wierdly enough it looks legit.
Can you show the error that you are getting?
*Can you try deleting streamlit-theme==0.58.0
? and try to re-run it?
Not worked
getting no error
ModuleNotFoundError: No module named ‘streamlit_theme’
Traceback:
File "/app/.heroku/python/lib/python3.9/site-packages/streamlit/script_runner.py", line 338, in _run_script
exec(code, module.__dict__)File "/app/gh.py", line 8, in <module>
import streamlit_theme as stt
Hi!
As i see on pipy (streamlit-theme · PyPI) the latest version of the streamlit-theme was released about half a year ago, which means it may not be up to date, and there may be conflicts.
I would suggest you leave that library outside of your code, and use normal theme method.
Not sure what more to suggest.
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.