removed 3 dots menu

This commit is contained in:
Pranshav Lakhia 2024-10-13 10:08:01 -04:00
parent dbd326504c
commit 995b6a5e85

19
main.py

@ -1,11 +1,24 @@
import streamlit as st
import requests
# Initialize session state for prompt history
if "history" not in st.session_state:
st.session_state.history = []
st.set_page_config(
page_title="maargdarshak",
initial_sidebar_state="expanded",
)
st.markdown("""
<style>
.reportview-container {
margin-top: -2em;
}
#MainMenu {visibility: hidden;}
.stDeployButton {display:none;}
footer {visibility: hidden;}
#stDecoration {display:none;}
</style>
""", unsafe_allow_html=True)
# Function to send POST request to a local server
def send_post_request(prompt):
url = "http://localhost:19194/" # Update this to your actual server URL