Lillianwei commited on
Commit
4d8f816
1 Parent(s): bd0704f

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +50 -0
app.py ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ import pandas as pd
3
+
4
+ data = {
5
+ "Model": [
6
+ "MiniGPT-5", "EMU-2", "GILL", "Anole",
7
+ "GPT-4o - Openjourney", "GPT-4o - SD-3", "GPT-4o - SD-XL", "GPT-4o - Flux",
8
+ "Gemini-1.5 - Openjourney", "Gemini-1.5 - SD-3", "Gemini-1.5 - SD-XL", "Gemini-1.5 - Flux",
9
+ "LLAVA-34b - Openjourney", "LLAVA-34b - SD-3", "LLAVA-34b - SD-XL", "LLAVA-34b - Flux",
10
+ "Qwen-VL-70b - Openjourney", "Qwen-VL-70b - SD-3", "Qwen-VL-70b - SD-XL", "Qwen-VL-70b - Flux"
11
+ ],
12
+ "Situational analysis": [
13
+ 47.63, 39.65, 46.72, 48.95,
14
+ 53.05, 53.00, 56.12, 54.97,
15
+ 48.08, 47.48, 49.43, 47.07,
16
+ 54.12, 54.72, 55.97, 54.23,
17
+ 52.73, 54.98, 52.58, 54.23
18
+ ],
19
+ "Project-based learning": [
20
+ 55.12, 46.12, 57.57, 59.05,
21
+ 71.40, 71.20, 73.25, 68.80,
22
+ 67.93, 68.70, 71.85, 68.33,
23
+ 73.47, 72.55, 74.60, 71.32,
24
+ 71.63, 71.87, 73.57, 69.47
25
+ ],
26
+ "Multi-step reasoning": [
27
+ 42.17, 50.75, 39.33, 51.72,
28
+ 53.67, 53.67, 53.67, 53.67,
29
+ 60.05, 60.05, 60.05, 60.05,
30
+ 47.28, 47.28, 47.28, 47.28,
31
+ 55.63, 55.63, 55.63, 55.63
32
+ ],
33
+ "AVG": [
34
+ 50.92, 45.33, 51.58, 55.22,
35
+ 63.65, 63.52, 65.47, 62.63,
36
+ 61.57, 61.87, 64.15, 61.55,
37
+ 63.93, 63.57, 65.05, 62.73,
38
+ 64.05, 64.75, 65.12, 63.18
39
+ ]
40
+ }
41
+
42
+
43
+ df = pd.DataFrame(data)
44
+
45
+ def leaderboard():
46
+ return df
47
+
48
+ interface = gr.Interface(fn=leaderboard, inputs=[], outputs=gr.Dataframe())
49
+
50
+ interface.launch()