File size: 435 Bytes
3e30d53 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # Logo as base64 encoded string
# This avoids binary file issues with Hugging Face Spaces
def get_logo_base64():
"""Returns the Sentinel logo as a base64 encoded string"""
# If logo file exists, read it
try:
import base64
with open("assets/logo.png", "rb") as f:
return base64.b64encode(f.read()).decode()
except:
# Fallback: return empty string if file not found
return ""
|