mirror of
https://github.com/microsoft/OmniParser.git
synced 2025-02-18 03:18:33 +03:00
make header bar thin for gradio
This commit is contained in:
BIN
imgs/header_bar_thin.png
Normal file
BIN
imgs/header_bar_thin.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 132 KiB |
@@ -261,7 +261,7 @@ def get_header_image_base64():
|
||||
try:
|
||||
# Get the absolute path to the image relative to this script
|
||||
script_dir = Path(__file__).parent
|
||||
image_path = script_dir.parent.parent / "imgs" / "header_bar.png"
|
||||
image_path = script_dir.parent.parent / "imgs" / "header_bar_thin.png"
|
||||
|
||||
with open(image_path, "rb") as image_file:
|
||||
encoded_string = base64.b64encode(image_file.read()).decode()
|
||||
|
||||
Reference in New Issue
Block a user