Summary
Hi guys, I am new to streamlit and I tried searching for previous post but didn’t found anything similar yet. Beacuse I am trying to using Tailwindcss through streamlit_tailwind. But after st.write it will have a green text saying none below my html section. Thanks in advance if anyone knows how to remove it.
Share a clear and concise description of the issue. Aim for 2-3 sentences.
Steps to reproduce
Code snippet:
add code here
import streamlit as st
from streamlit_tailwind import st_tw
from st_paywall import add_auth
import streamlit.components.v1 as hero
from st_pages import show_pages_from_config, hide_pages
st.set_page_config(
page_title=“Multipage App”,
page_icon=“clap”,
initial_sidebar_state=“collapsed”,
)
page_bg_img =“”"
[data-testid="stAppViewContainer"] { background: linear-gradient(to left top, rgb(249, 168, 212), rgb(216, 180, 254), rgb(129, 140, 248)) } #mainMenue {visibility: hidden;} footer {visibility: hidden;} #header {visibility: hidden;}“”"
st.markdown(page_bg_img, unsafe_allow_html=True)
st.title(“Stellar”)
value = st_tw(
text=“”"
Explore the best PDF tools!
Simple tools to boost your workflow
“”",
height=192 # 4 x specified height in tailwind
)
Create an empty placeholder
placeholder = st.empty()
Write the value to the placeholder
placeholder.write(value)
hero.html(“”"
Chat with any PDF
“”")
chatpdf =st_tw(
“”"
Chat with any PDF
“”",
height=100
)
st.write(chatpdf)
If applicable, please provide the steps we should take to reproduce the error or specified behavior.
Expected behavior:
According to websearch if I use placeholder=st.empty(), then write the value to the placeholder should solve the issue. However nothing changed.