Skip to content

Commit

Permalink
Update samples
Browse files Browse the repository at this point in the history
Singed-off-by: thepetk <[email protected]>
  • Loading branch information
thepetk committed Oct 13, 2024
1 parent ef9bd1e commit 34aff32
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion audio-to-text/Containerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi9/python-311:1-77.1725907703
FROM registry.access.redhat.com/ubi9/python-311:1-77.1726664316
WORKDIR /locallm
COPY requirements.txt /locallm/requirements.txt
RUN pip install --upgrade pip && \
Expand Down
2 changes: 1 addition & 1 deletion chatbot/Containerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi9/python-311:1-77.1725907703
FROM registry.access.redhat.com/ubi9/python-311:1-77.1726664316
WORKDIR /chat
COPY requirements.txt .
RUN pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion chatbot/chatbot_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def memory():
options=models)

llm = ChatOpenAI(base_url=model_service,
api_key="sk-no-key-required",
api_key="sk-no-key-required" if model_service_bearer is None else model_service_bearer,
model=model_name,
streaming=True,
callbacks=[StreamlitCallbackHandler(st.empty(),
Expand Down
2 changes: 1 addition & 1 deletion codegen/Containerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi9/python-311:1-77.1725907703
FROM registry.access.redhat.com/ubi9/python-311:1-77.1726664316
WORKDIR /codegen
COPY requirements.txt .
RUN pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion codegen/codegen-app.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def checking_model_service():

llm = ChatOpenAI(base_url=model_service,
model=model_name,
api_key="EMPTY",
api_key="EMPTY" if model_service_bearer is None else model_service_bearer,
streaming=True)

# Define the Langchain chain
Expand Down
2 changes: 1 addition & 1 deletion object-detection/Containerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi9/python-311:1-77.1725907703
FROM registry.access.redhat.com/ubi9/python-311:1-77.1726664316
WORKDIR /locallm
COPY requirements.txt /locallm/requirements.txt
RUN pip install --upgrade pip && \
Expand Down
2 changes: 1 addition & 1 deletion rag/Containerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi9/python-311:1-77.1725907703
FROM registry.access.redhat.com/ubi9/python-311:1-77.1726664316
### Update sqlite for chroma
USER root
RUN dnf remove sqlite3 -y
Expand Down
2 changes: 1 addition & 1 deletion rag/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
langchain-openai==0.1.7
langchain==0.1.20
chromadb==0.5.7
chromadb==0.5.13
sentence-transformers==2.7.0
streamlit==1.34.0
pypdf==4.2.0
Expand Down

0 comments on commit 34aff32

Please sign in to comment.