Leaderboard_dev / app.py
lizb6626's picture
update
1d4e4bf
import gradio as gr
import pandas as pd
_INTRODUCTION = """# GPTEval3D Leaderboard
Official leaderboard of *GPT-4V(ision) is a Human-Aligned Evaluator for Text-to-3D Generation* (**CVPR 2024**)
<div style="display: flex; flex-wrap: wrap; align-items: center; gap: 10px;">
<a style="display:inline-block" href="https://gpteval3d.github.io/"><img src="https://img.shields.io/badge/GPTEval3D-Homepage-blue"></a>
<a href='https://github.com/3DTopia/GPTEval3D/'><img src='https://img.shields.io/github/stars/3DTopia/GPTEval3D.svg?style=social'></a>
<a href='https://arxiv.org/abs/2401.04092'><img src='https://img.shields.io/badge/cs.CV-Paper-b31b1b?logo=arxiv&logoColor=red'></a>
</div>
"""
with gr.Blocks() as demo:
gr.Markdown(
_INTRODUCTION
)
df = pd.read_csv('statics/scores.csv')
gr.components.Dataframe(
value=df,
type='pandas',
datatype=['markdown', 'number', 'number', 'number', 'number', 'number'],
interactive=False,
visible=True,
height=1000,
)
demo.launch()