import streamlit as st import base64 from pathlib import Path def get_image_base64(image_path: Path) -> str: """Convert image to base64 string""" if not image_path.exists(): st.error(f"Logo not found at {image_path}") return "" with open(image_path, "rb") as img_file: return base64.b64encode(img_file.read()).decode("utf-8") def render_contribution_guide(): """Render the contribution guide section""" st.markdown("### 🚀 Contribute") st.markdown( """ How does your device stack up? Benchmark your phone and join the leaderboard! """ ) # Store badges in a row container st.markdown('
Comparing Large Language Models performance across AI Phones. Powered by PocketPal AI.