File size: 1,086 Bytes
17af637
c185726
17af637
 
c185726
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1d4e4bf
c185726
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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()