Running local in Chrome on my macbook.
Question? when I run a very simple streamlit app with just a st.chat_input, the chat_input is rendered at the bottom of the page, correctly. However, when I add (two) columns to the app, it renders the chat_input at the top of the left column, which is not the desired outcome. I tried a container approach, which did not resolve the issue? Help?
import streamlit as st
st.title(“Chat with Links”)
col1, col2 = st.columns([2, 2]) # Provide the ‘spec’ argument here
with col1:
user_input = st.chat_input(“Type your message here…”)
if user_input:
st.write(f"You: {user_input}") # For demonstration. You would process the input here.
with col2:
st.subheader(“Example Links”)
st.markdown(“Example Website 2”)