I already have a streamlit app, with light theme on config.toml. It works fine on the Spaces app, but when I export it to iframe, the light theme isn’t forced anymore. Is there any solution?
hi @tmtsmrsl, unfortunately you can’t change the config.toml
using our sdk: streamlit
. However we now support Dockerfile and you can setup a custom Streamlit Space with a custom config.toml
. Here is an example Streamlit Docker Template - a Hugging Face Space by DockerTemplates
Please check the Dockerfile
and .streamlit
sources here DockerTemplates/streamlit-docker-example at main