MedQA / assets /__init__.py
mgbam's picture
Create assets/__init__.py
9b49791 verified
raw
history blame contribute delete
380 Bytes
import os
def get_logo_path() -> str:
"""Returns the absolute path to the logo.png file."""
# Assumes logo.png is in the same directory as this __init__.py
current_dir = os.path.dirname(os.path.abspath(__file__))
logo_path = os.path.join(current_dir, "logo.png")
if os.path.exists(logo_path):
return logo_path
return "" # Return empty if not found