Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
eff736ac
"src/git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "dcac8a773bb1a6271cde85d7d7b1183f3894e650"
Unverified
Commit
eff736ac
authored
Jul 10, 2024
by
Timothy Jaeryang Baek
Committed by
GitHub
Jul 10, 2024
Browse files
Merge pull request #3774 from open-webui/dev
fix
parents
2011cbd2
38cc0da9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
Dockerfile
Dockerfile
+4
-2
backend/requirements.txt
backend/requirements.txt
+1
-1
src/app.html
src/app.html
+5
-2
No files found.
Dockerfile
View file @
eff736ac
...
@@ -97,6 +97,7 @@ RUN if [ "$USE_OLLAMA" = "true" ]; then \
...
@@ -97,6 +97,7 @@ RUN if [ "$USE_OLLAMA" = "true" ]; then \
apt-get update
&&
\
apt-get update
&&
\
# Install pandoc and netcat
# Install pandoc and netcat
apt-get install -y --no-install-recommends pandoc netcat-openbsd curl && \
apt-get install -y --no-install-recommends pandoc netcat-openbsd curl && \
apt-get install -y --no-install-recommends gcc python3-dev && \
# for RAG OCR
# for RAG OCR
apt-get install -y --no-install-recommends ffmpeg libsm6 libxext6 && \
apt-get install -y --no-install-recommends ffmpeg libsm6 libxext6 && \
# install helper tools
# install helper tools
...
@@ -107,8 +108,9 @@ RUN if [ "$USE_OLLAMA" = "true" ]; then \
...
@@ -107,8 +108,9 @@ RUN if [ "$USE_OLLAMA" = "true" ]; then \
rm -rf /var/lib/apt/lists/*; \
rm -rf /var/lib/apt/lists/*; \
else \
else \
apt-get update && \
apt-get update && \
# Install pandoc and netcat
# Install pandoc, netcat and gcc
apt-get install -y --no-install-recommends pandoc netcat-openbsd curl jq && \
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
# for RAG OCR
apt-get install -y --no-install-recommends ffmpeg libsm6 libxext6 && \
apt-get install -y --no-install-recommends ffmpeg libsm6 libxext6 && \
# cleanup
# cleanup
...
...
backend/requirements.txt
View file @
eff736ac
...
@@ -51,7 +51,7 @@ openpyxl==3.1.5
...
@@ -51,7 +51,7 @@ openpyxl==3.1.5
pyxlsb==1.0.10
pyxlsb==1.0.10
xlrd==2.0.1
xlrd==2.0.1
validators==0.28.1
validators==0.28.1
psutil
==5.9.7
psutil
opencv-python-headless==4.10.0.84
opencv-python-headless==4.10.0.84
rapidocr-onnxruntime==1.3.22
rapidocr-onnxruntime==1.3.22
...
...
src/app.html
View file @
eff736ac
...
@@ -65,6 +65,7 @@
...
@@ -65,6 +65,7 @@
%sveltekit.head%
%sveltekit.head%
</head>
</head>
<body
data-sveltekit-preload-data=
"hover"
>
<body
data-sveltekit-preload-data=
"hover"
>
<div
style=
"display: contents"
>
%sveltekit.body%
</div>
<div
style=
"display: contents"
>
%sveltekit.body%
</div>
...
@@ -86,7 +87,7 @@
...
@@ -86,7 +87,7 @@
height: 6rem;
height: 6rem;
top: 44%;
top: 44%;
left: 50%;
left: 50%;
margin-left: -3rem
;
transform: translateX(-50%)
;
"
"
src=
"/static/splash.png"
src=
"/static/splash.png"
/>
/>
...
@@ -98,7 +99,7 @@
...
@@ -98,7 +99,7 @@
left: 50%;
left: 50%;
width: 24rem;
width: 24rem;
margin-left: -12rem
;
transform: translateX(-50%)
;
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
...
@@ -154,6 +155,7 @@
...
@@ -154,6 +155,7 @@
#splash-screen
{
#splash-screen
{
background
:
#fff
;
background
:
#fff
;
}
}
html
.dark
#splash-screen
{
html
.dark
#splash-screen
{
background
:
#000
;
background
:
#000
;
}
}
...
@@ -210,6 +212,7 @@
...
@@ -210,6 +212,7 @@
opacity
:
0.65
;
opacity
:
0.65
;
}
}
}
}
.animate-pulse-fast
{
.animate-pulse-fast
{
animation
:
pulse
1.5s
cubic-bezier
(
0.4
,
0
,
0.6
,
1
)
infinite
;
animation
:
pulse
1.5s
cubic-bezier
(
0.4
,
0
,
0.6
,
1
)
infinite
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment