refactor: remove Dockerfile and st.snow from main.py

- Removed Dockerfile to simplify the project structure.
- Eliminated st.snow from main.py for a more professional appearance.
This commit is contained in:
Rajtilak Bhattacharjee 2023-11-14 12:58:24 +05:30
parent b562af2019
commit 2b5a53e4d5
2 changed files with 0 additions and 21 deletions

View File

@ -1,20 +0,0 @@
FROM python:3.11-slim
WORKDIR /app
RUN apt-get update && apt-get install -y \
build-essential \
curl \
software-properties-common \
git \
&& rm -rf /var/lib/apt/lists/*
RUN git clone https://github.com/rajtilakjee/keepyourmouthshut.git .
RUN pip3 install -r requirements.txt
EXPOSE 8501
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
ENTRYPOINT ["streamlit", "run", "src/main.py", "--server.port=8501", "--server.address=0.0.0.0"]

View File

@ -176,7 +176,6 @@ st.set_page_config(
)
st.title("KeepYourMouthShut")
st.snow()
with st.sidebar:
openai_api_key = st.text_input("OpenAI API Key", type="password")