| import gradio as gr | |
| import pandas as pd | |
| from css_html_js import custom_css | |
| TITLE = """<h1 align="center" id="space-title">π²πΎ Malaysian Embedding Leaderboard</h1>""" | |
| INTRODUCTION_TEXT = """ | |
| π The π²πΎ Malaysian Embedding Leaderboard aims to track, rank and evaluate Top-k retrieval using embedding models. All notebooks at https://github.com/mesolitica/embedding-benchmarks, feel free to submit your own score at https://huggingface.co/spaces/mesolitica/Malaysian-Embedding-Leaderboard/discussions with link to the notebook. | |
| """ | |
| demo = gr.Blocks(css=custom_css) | |
| with demo: | |
| gr.HTML(TITLE) | |
| gr.Markdown(INTRODUCTION_TEXT, elem_classes="markdown-text") | |
| demo.launch() |