import streamlit as st st.text_area(placeholder="enter query to run..!")
Drop files here
or click to upload
import streamlit as st
st.title("Query Input")
# Create a text area with placeholder text
user_query = st.text_area(
label="Enter your query below:",
placeholder="Enter query to run..!",
height=150 # Make it a bit taller for better usability
)
# Show the entered text if anything is entered
if user_query:
st.write("You entered:")
st.write(user_query)
Hi! I can help you with any questions about Streamlit and Python. What would you like to know?