diff --git a/private_gpt/ui/ui.py b/private_gpt/ui/ui.py index 6f6fa76..2d55e8e 100644 --- a/private_gpt/ui/ui.py +++ b/private_gpt/ui/ui.py @@ -1,4 +1,5 @@ """This file should be imported if and only if you want to run the UI locally.""" +import base64 import logging import time from collections.abc import Iterable @@ -312,7 +313,13 @@ class PrivateGptUi: ".contain { display: flex !important; flex-direction: column !important; }" "#component-0, #component-3, #component-10, #component-8 { height: 100% !important; }" "#chatbot { flex-grow: 1 !important; overflow: auto !important;}" - "#col { height: calc(100vh - 112px - 16px) !important; }", + "#col { height: calc(100vh - 112px - 16px) !important; }" + "hr { margin-top: 1em; margin-bottom: 1em; border: 0; border-top: 1px solid #FFF; }" + ".avatar-image { background-color: antiquewhite; border-radius: 2px; }" + ".footer { text-align: center; margin-top: 20px; font-size: 14px; display: flex; align-items: center; justify-content: center; }" + ".footer-zylon-link { display:flex; margin-left: 5px; text-decoration: auto; color: #fff; }" + ".footer-zylon-link:hover { color: #C7BAFF; }" + ".footer-zylon-ico { height: 20px; margin-left: 5px; background-color: antiquewhite; border-radius: 2px; }", ) as blocks: with gr.Row(): gr.HTML(f"