Spaces:
Running
on
Zero
Running
on
Zero
Update MD
Browse files- serve/gradio_web.py +3 -6
- serve/leaderboard.py +2 -2
serve/gradio_web.py
CHANGED
@@ -38,16 +38,13 @@ from functools import partial
|
|
38 |
|
39 |
def build_side_by_side_ui_anony(models):
|
40 |
notice_markdown = """
|
41 |
-
# βοΈ
|
42 |
## π Rules
|
43 |
-
- Input prompt to
|
44 |
- When the results are ready, click the button below to vote.
|
45 |
-
-
|
46 |
- Click "New Round" to start a new round.
|
47 |
|
48 |
-
## π Arena Elo
|
49 |
-
Find out who is the π₯conditional image generation models! More models are going to be supported.
|
50 |
-
|
51 |
## π Generating now!
|
52 |
|
53 |
"""
|
|
|
38 |
|
39 |
def build_side_by_side_ui_anony(models):
|
40 |
notice_markdown = """
|
41 |
+
# βοΈ K-Sort-Arena βοΈ
|
42 |
## π Rules
|
43 |
+
- Input prompt to Four anonymous models in same area (e.g., SD, SDXL, OpenJourney in Text-guided Image Generation Model) and vote for the better one!
|
44 |
- When the results are ready, click the button below to vote.
|
45 |
+
- Two voting mode: Rand Mode and Best Mode.
|
46 |
- Click "New Round" to start a new round.
|
47 |
|
|
|
|
|
|
|
48 |
## π Generating now!
|
49 |
|
50 |
"""
|
serve/leaderboard.py
CHANGED
@@ -38,7 +38,7 @@ leader_component_values = [None] * 5
|
|
38 |
|
39 |
def make_leaderboard_md(elo_results):
|
40 |
leaderboard_md = f"""
|
41 |
-
# π
|
42 |
"""
|
43 |
|
44 |
return leaderboard_md
|
@@ -166,7 +166,7 @@ def build_leaderboard_tab(elo_results_file, leaderboard_table_file, show_plot=Fa
|
|
166 |
with gr.Tabs() as tabs:
|
167 |
# arena table
|
168 |
arena_table_vals = get_arena_table(anony_arena_df, model_table_df)
|
169 |
-
with gr.Tab("Arena
|
170 |
md = make_arena_leaderboard_md(anony_elo_results)
|
171 |
gr.Markdown(md, elem_id="leaderboard_markdown")
|
172 |
gr.Dataframe(
|
|
|
38 |
|
39 |
def make_leaderboard_md(elo_results):
|
40 |
leaderboard_md = f"""
|
41 |
+
# π K-Sort-Arena Leaderboard
|
42 |
"""
|
43 |
|
44 |
return leaderboard_md
|
|
|
166 |
with gr.Tabs() as tabs:
|
167 |
# arena table
|
168 |
arena_table_vals = get_arena_table(anony_arena_df, model_table_df)
|
169 |
+
with gr.Tab("Arena Score", id=0):
|
170 |
md = make_arena_leaderboard_md(anony_elo_results)
|
171 |
gr.Markdown(md, elem_id="leaderboard_markdown")
|
172 |
gr.Dataframe(
|