Skip to content

Commit

Permalink
Updated ${LOGO_HEIGHT:-25%}.
Browse files Browse the repository at this point in the history
  • Loading branch information
3x3cut0r committed Feb 1, 2024
1 parent 7461e62 commit 49d4905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion privategpt/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ sed -i "s|background-color: #C7BAFF;|background-color: ${LOGO_BG_COLOR:-#C7BAFF}
sed -i "s|logo_svg = \"data:image/svg+xml;base64,.*\"|logo_svg = \"data:image/svg+xml;base64,${LOGO_SVG_BASE64}\"|g" /home/worker/app/private_gpt/ui/images.py

# LOGO_HEIGHT
sed -i "s|\.logo img { height: 25% }|\.logo img { height: ${LOGO_HEIGHT:-50%} }|g" /home/worker/app/private_gpt/ui/ui.py
sed -i "s|\.logo img { height: 25% }|\.logo img { height: ${LOGO_HEIGHT:-25%} }|g" /home/worker/app/private_gpt/ui/ui.py

# PGPT_HF_MODEL_FILE
if [ "${PGPT_HF_MODEL_FILE}" != "" ]; then
Expand Down

0 comments on commit 49d4905

Please sign in to comment.