Sentinel / logo_helper.py
Asish Karthikeya Gogineni
Deploy Sentinel AI from GitHub
3e30d53
raw
history blame contribute delete
435 Bytes
# 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 ""