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:
|
try:
|
||||||
# Get the absolute path to the image relative to this script
|
# Get the absolute path to the image relative to this script
|
||||||
script_dir = Path(__file__).parent
|
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:
|
with open(image_path, "rb") as image_file:
|
||||||
encoded_string = base64.b64encode(image_file.read()).decode()
|
encoded_string = base64.b64encode(image_file.read()).decode()
|
||||||
|
|||||||
Reference in New Issue
Block a user