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:
parent
b562af2019
commit
2b5a53e4d5
20
Dockerfile
20
Dockerfile
|
@ -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"]
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue