Merge pull request #3774 from open-webui/dev

fix
This commit is contained in:
Timothy Jaeryang Baek 2024-07-10 14:45:28 -07:00 committed by GitHub
commit eff736acd2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 10 additions and 5 deletions

View File

@ -97,6 +97,7 @@ RUN if [ "$USE_OLLAMA" = "true" ]; then \
apt-get update && \
# Install pandoc and netcat
apt-get install -y --no-install-recommends pandoc netcat-openbsd curl && \
apt-get install -y --no-install-recommends gcc python3-dev && \
# for RAG OCR
apt-get install -y --no-install-recommends ffmpeg libsm6 libxext6 && \
# install helper tools
@ -107,8 +108,9 @@ RUN if [ "$USE_OLLAMA" = "true" ]; then \
rm -rf /var/lib/apt/lists/*; \
else \
apt-get update && \
# Install pandoc and netcat
apt-get install -y --no-install-recommends pandoc netcat-openbsd curl jq && \
# Install pandoc, netcat and gcc
apt-get install -y --no-install-recommends pandoc gcc netcat-openbsd curl jq && \
apt-get install -y --no-install-recommends gcc python3-dev && \
# for RAG OCR
apt-get install -y --no-install-recommends ffmpeg libsm6 libxext6 && \
# cleanup

View File

@ -51,7 +51,7 @@ openpyxl==3.1.5
pyxlsb==1.0.10
xlrd==2.0.1
validators==0.28.1
psutil==5.9.7
psutil
opencv-python-headless==4.10.0.84
rapidocr-onnxruntime==1.3.22

View File

@ -65,6 +65,7 @@
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover">
<div style="display: contents">%sveltekit.body%</div>
@ -86,7 +87,7 @@
height: 6rem;
top: 44%;
left: 50%;
margin-left: -3rem;
transform: translateX(-50%);
"
src="/static/splash.png"
/>
@ -98,7 +99,7 @@
left: 50%;
width: 24rem;
margin-left: -12rem;
transform: translateX(-50%);
display: flex;
flex-direction: column;
@ -154,6 +155,7 @@
#splash-screen {
background: #fff;
}
html.dark #splash-screen {
background: #000;
}
@ -210,6 +212,7 @@
opacity: 0.65;
}
}
.animate-pulse-fast {
animation: pulse 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}