Spaces:
Running
on
Zero
Running
on
Zero
vinesmsuic
commited on
Commit
โข
4636973
1
Parent(s):
90169b1
paper links
Browse files- serve/gradio_web.py +3 -3
- serve/gradio_web_image_editing.py +3 -3
- serve/gradio_web_video_generation.py +3 -3
- serve/leaderboard.py +2 -2
- serve/utils.py +3 -3
serve/gradio_web.py
CHANGED
@@ -21,7 +21,7 @@ from functools import partial
|
|
21 |
def build_side_by_side_ui_anony(models):
|
22 |
notice_markdown = """
|
23 |
# โ๏ธ GenAI-Arena โ๏ธ : Benchmarking Visual Generative Models in the Wild
|
24 |
-
| [
|
25 |
## ๐ Rules
|
26 |
- Input prompt to two anonymous models in same area (e.g., LCM, SDXL, SDXL-turbo in Text-guided Image Generation Model, MagicBrush, InstructPix2Pix in Text-guided Image Editing Model) and vote for the better one!
|
27 |
- When the results are ready, click the button below to vote.
|
@@ -193,7 +193,7 @@ Find out who is the ๐ฅconditional image generation models! More models are goi
|
|
193 |
def build_side_by_side_ui_named(models):
|
194 |
notice_markdown = """
|
195 |
# โ๏ธ GenAI-Arena โ๏ธ : Benchmarking Visual Generative Models in the Wild
|
196 |
-
| [
|
197 |
|
198 |
## ๐ Rules
|
199 |
- Generate with any two selected models side-by-side and vote!
|
@@ -372,7 +372,7 @@ def build_side_by_side_ui_named(models):
|
|
372 |
def build_single_model_ui(models, add_promotion_links=False):
|
373 |
promotion = (
|
374 |
"""
|
375 |
-
- | [
|
376 |
"""
|
377 |
if add_promotion_links
|
378 |
else ""
|
|
|
21 |
def build_side_by_side_ui_anony(models):
|
22 |
notice_markdown = """
|
23 |
# โ๏ธ GenAI-Arena โ๏ธ : Benchmarking Visual Generative Models in the Wild
|
24 |
+
| [Code](https://huggingface.co/spaces/TIGER-Lab/GenAI-Arena/tree/main) | [Paper](https://arxiv.org/abs/2406.04485v1) | [Dataset](https://huggingface.co/datasets/TIGER-Lab/GenAI-Bench) |
|
25 |
## ๐ Rules
|
26 |
- Input prompt to two anonymous models in same area (e.g., LCM, SDXL, SDXL-turbo in Text-guided Image Generation Model, MagicBrush, InstructPix2Pix in Text-guided Image Editing Model) and vote for the better one!
|
27 |
- When the results are ready, click the button below to vote.
|
|
|
193 |
def build_side_by_side_ui_named(models):
|
194 |
notice_markdown = """
|
195 |
# โ๏ธ GenAI-Arena โ๏ธ : Benchmarking Visual Generative Models in the Wild
|
196 |
+
| [Code](https://huggingface.co/spaces/TIGER-Lab/GenAI-Arena/tree/main) | [Paper](https://arxiv.org/abs/2406.04485v1) | [Dataset](https://huggingface.co/datasets/TIGER-Lab/GenAI-Bench) |
|
197 |
|
198 |
## ๐ Rules
|
199 |
- Generate with any two selected models side-by-side and vote!
|
|
|
372 |
def build_single_model_ui(models, add_promotion_links=False):
|
373 |
promotion = (
|
374 |
"""
|
375 |
+
- | [Code](https://huggingface.co/spaces/TIGER-Lab/GenAI-Arena/tree/main) | [Paper](https://arxiv.org/abs/2406.04485v1) | [Dataset](https://huggingface.co/datasets/TIGER-Lab/GenAI-Bench) |
|
376 |
"""
|
377 |
if add_promotion_links
|
378 |
else ""
|
serve/gradio_web_image_editing.py
CHANGED
@@ -21,7 +21,7 @@ from functools import partial
|
|
21 |
def build_side_by_side_ui_anony_ie(models):
|
22 |
notice_markdown = """
|
23 |
# โ๏ธ GenAI-Arena โ๏ธ : Benchmarking Visual Generative Models in the Wild
|
24 |
-
| [
|
25 |
|
26 |
## ๐ Rules
|
27 |
- Edit with two selected models side-by-side and vote!
|
@@ -229,7 +229,7 @@ Find out who is the ๐ฅconditional image edition models!
|
|
229 |
def build_side_by_side_ui_named_ie(models):
|
230 |
notice_markdown = """
|
231 |
# โ๏ธ GenAI-Arena โ๏ธ : Benchmarking Visual Generative Models in the Wild
|
232 |
-
| [
|
233 |
|
234 |
## ๐ Rules
|
235 |
- Edit with two selected models side-by-side and vote!
|
@@ -444,7 +444,7 @@ def build_side_by_side_ui_named_ie(models):
|
|
444 |
def build_single_model_ui_ie(models, add_promotion_links=False):
|
445 |
promotion = (
|
446 |
"""
|
447 |
-
- | [
|
448 |
"""
|
449 |
if add_promotion_links
|
450 |
else ""
|
|
|
21 |
def build_side_by_side_ui_anony_ie(models):
|
22 |
notice_markdown = """
|
23 |
# โ๏ธ GenAI-Arena โ๏ธ : Benchmarking Visual Generative Models in the Wild
|
24 |
+
| [Code](https://huggingface.co/spaces/TIGER-Lab/GenAI-Arena/tree/main) | [Paper](https://arxiv.org/abs/2406.04485v1) | [Dataset](https://huggingface.co/datasets/TIGER-Lab/GenAI-Bench) |
|
25 |
|
26 |
## ๐ Rules
|
27 |
- Edit with two selected models side-by-side and vote!
|
|
|
229 |
def build_side_by_side_ui_named_ie(models):
|
230 |
notice_markdown = """
|
231 |
# โ๏ธ GenAI-Arena โ๏ธ : Benchmarking Visual Generative Models in the Wild
|
232 |
+
| [Code](https://huggingface.co/spaces/TIGER-Lab/GenAI-Arena/tree/main) | [Paper](https://arxiv.org/abs/2406.04485v1) | [Dataset](https://huggingface.co/datasets/TIGER-Lab/GenAI-Bench) |
|
233 |
|
234 |
## ๐ Rules
|
235 |
- Edit with two selected models side-by-side and vote!
|
|
|
444 |
def build_single_model_ui_ie(models, add_promotion_links=False):
|
445 |
promotion = (
|
446 |
"""
|
447 |
+
- | [Code](https://huggingface.co/spaces/TIGER-Lab/GenAI-Arena/tree/main) | [Paper](https://arxiv.org/abs/2406.04485v1) | [Dataset](https://huggingface.co/datasets/TIGER-Lab/GenAI-Bench) |
|
448 |
"""
|
449 |
if add_promotion_links
|
450 |
else ""
|
serve/gradio_web_video_generation.py
CHANGED
@@ -22,7 +22,7 @@ from functools import partial
|
|
22 |
def build_side_by_side_ui_anony_vg(models):
|
23 |
notice_markdown = """
|
24 |
# โ๏ธ GenAI-Arena โ๏ธ : Benchmarking Visual Generative Models in the Wild
|
25 |
-
| [
|
26 |
## ๐ Rules
|
27 |
- Input prompt to two anonymous models in same area (e.g., AnimateDiff, AnimateDiff-Turbo) and vote for the better one!
|
28 |
- When the results are ready, click the button below to vote.
|
@@ -197,7 +197,7 @@ Find out who is the ๐ฅconditional video generation models! More models are goi
|
|
197 |
def build_side_by_side_ui_named_vg(models):
|
198 |
notice_markdown = """
|
199 |
# โ๏ธ GenAI-Arena โ๏ธ : Benchmarking Visual Generative Models in the Wild
|
200 |
-
| [
|
201 |
|
202 |
## ๐ Rules
|
203 |
- Generate with any two selected models side-by-side and vote!
|
@@ -384,7 +384,7 @@ def build_side_by_side_ui_named_vg(models):
|
|
384 |
def build_single_model_ui_vg(models, add_promotion_links=False):
|
385 |
promotion = (
|
386 |
"""
|
387 |
-
- | [
|
388 |
"""
|
389 |
if add_promotion_links
|
390 |
else ""
|
|
|
22 |
def build_side_by_side_ui_anony_vg(models):
|
23 |
notice_markdown = """
|
24 |
# โ๏ธ GenAI-Arena โ๏ธ : Benchmarking Visual Generative Models in the Wild
|
25 |
+
| [Code](https://huggingface.co/spaces/TIGER-Lab/GenAI-Arena/tree/main) | [Paper](https://arxiv.org/abs/2406.04485v1) | [Dataset](https://huggingface.co/datasets/TIGER-Lab/GenAI-Bench) |
|
26 |
## ๐ Rules
|
27 |
- Input prompt to two anonymous models in same area (e.g., AnimateDiff, AnimateDiff-Turbo) and vote for the better one!
|
28 |
- When the results are ready, click the button below to vote.
|
|
|
197 |
def build_side_by_side_ui_named_vg(models):
|
198 |
notice_markdown = """
|
199 |
# โ๏ธ GenAI-Arena โ๏ธ : Benchmarking Visual Generative Models in the Wild
|
200 |
+
| [Code](https://huggingface.co/spaces/TIGER-Lab/GenAI-Arena/tree/main) | [Paper](https://arxiv.org/abs/2406.04485v1) | [Dataset](https://huggingface.co/datasets/TIGER-Lab/GenAI-Bench) |
|
201 |
|
202 |
## ๐ Rules
|
203 |
- Generate with any two selected models side-by-side and vote!
|
|
|
384 |
def build_single_model_ui_vg(models, add_promotion_links=False):
|
385 |
promotion = (
|
386 |
"""
|
387 |
+
- | [Code](https://huggingface.co/spaces/TIGER-Lab/GenAI-Arena/tree/main) | [Paper](https://arxiv.org/abs/2406.04485v1) | [Dataset](https://huggingface.co/datasets/TIGER-Lab/GenAI-Bench) |
|
388 |
"""
|
389 |
if add_promotion_links
|
390 |
else ""
|
serve/leaderboard.py
CHANGED
@@ -39,7 +39,7 @@ leader_component_values = [None] * 5
|
|
39 |
def make_leaderboard_md(elo_results):
|
40 |
leaderboard_md = f"""
|
41 |
# ๐ GenAI-Arena Leaderboard
|
42 |
-
| [
|
43 |
|
44 |
"""
|
45 |
return leaderboard_md
|
@@ -175,7 +175,7 @@ Total #models: **{total_models}**(anonymous). Total #votes: **{total_votes}**. L
|
|
175 |
|
176 |
Contribute the votes ๐ณ๏ธ at [GenAI-Arena](https://huggingface.co/spaces/TIGER-Lab/GenAI-Arena)!
|
177 |
|
178 |
-
If you want to see more models, please help us [add them](https://
|
179 |
"""
|
180 |
return leaderboard_md
|
181 |
|
|
|
39 |
def make_leaderboard_md(elo_results):
|
40 |
leaderboard_md = f"""
|
41 |
# ๐ GenAI-Arena Leaderboard
|
42 |
+
| [Code](https://huggingface.co/spaces/TIGER-Lab/GenAI-Arena/tree/main) | [Dataset](https://huggingface.co/datasets/TIGER-Lab/GenAI-Bench) | [Twitter](https://twitter.com/TianleLI123/status/1757245259149422752) |
|
43 |
|
44 |
"""
|
45 |
return leaderboard_md
|
|
|
175 |
|
176 |
Contribute the votes ๐ณ๏ธ at [GenAI-Arena](https://huggingface.co/spaces/TIGER-Lab/GenAI-Arena)!
|
177 |
|
178 |
+
If you want to see more models, please help us [add them](https://huggingface.co/spaces/TIGER-Lab/GenAI-Arena/tree/main?tab=readme-ov-file#-contributing-).
|
179 |
"""
|
180 |
return leaderboard_md
|
181 |
|
serve/utils.py
CHANGED
@@ -25,7 +25,7 @@ This is a project from TIGER Lab at University of Waterloo.
|
|
25 |
[Tianle Li](https://scholar.google.com/citations?user=g213g7YAAAAJ&hl=en), [Dongfu Jiang](https://jdf-prog.github.io/), [Yuansheng Ni](https://yuanshengni.github.io/), [Max Ku](https://kuwingfung.github.io/), [Shizhuo Sun](), [Richard Fan](https://www.linkedin.com/in/richard-fan2020/).
|
26 |
|
27 |
## Contact:
|
28 |
-
Email: [email protected], [email protected] (Max Ku), [email protected] (Tianle Li)
|
29 |
|
30 |
## Advisors
|
31 |
[Wenhu Chen](https://wenhuchen.github.io/)
|
34 |
We are keep looking for sponsorship to support the arena project for the long term. Please contact us if you are interested in supporting this project.
|
35 |
|
36 |
## Acknowledgment
|
37 |
-
Our codebase is built upon <a href="https://github.com/lm-sys/FastChat" target="_blank">FastChat</a>, <a href="https://github.com/
|
38 |
"""
|
39 |
|
40 |
gr.Markdown(about_markdown, elem_id="about_markdown")
|
@@ -43,7 +43,7 @@ Our codebase is built upon <a href="https://github.com/lm-sys/FastChat" target="
|
|
43 |
acknowledgment_md = """
|
44 |
### Acknowledgment
|
45 |
<div class="image-container">
|
46 |
-
<p> Our codebase is built upon <a href="https://github.com/lm-sys/FastChat" target="_blank">FastChat</a>, <a href="https://github.com/
|
47 |
</div>
|
48 |
"""
|
49 |
|
|
|
25 |
[Tianle Li](https://scholar.google.com/citations?user=g213g7YAAAAJ&hl=en), [Dongfu Jiang](https://jdf-prog.github.io/), [Yuansheng Ni](https://yuanshengni.github.io/), [Max Ku](https://kuwingfung.github.io/), [Shizhuo Sun](), [Richard Fan](https://www.linkedin.com/in/richard-fan2020/).
|
26 |
|
27 |
## Contact:
|
28 |
+
Email: [email protected] (Dongfu Jiang), [email protected] (Max Ku), [email protected] (Tianle Li)
|
29 |
|
30 |
## Advisors
|
31 |
[Wenhu Chen](https://wenhuchen.github.io/)
|
|
|
34 |
We are keep looking for sponsorship to support the arena project for the long term. Please contact us if you are interested in supporting this project.
|
35 |
|
36 |
## Acknowledgment
|
37 |
+
Our codebase is built upon <a href="https://github.com/lm-sys/FastChat" target="_blank">FastChat</a>, <a href="https://github.com/vinesmsuic/ImagenHub/tree/main" target="_blank">ImagenHub</a> and <a href="https://github.com/TIGER-AI-Lab/VideoGenHub" target="_blank">VideoGenHub</a>.
|
38 |
"""
|
39 |
|
40 |
gr.Markdown(about_markdown, elem_id="about_markdown")
|
|
|
43 |
acknowledgment_md = """
|
44 |
### Acknowledgment
|
45 |
<div class="image-container">
|
46 |
+
<p> Our codebase is built upon <a href="https://github.com/lm-sys/FastChat" target="_blank">FastChat</a>, <a href="https://github.com/vinesmsuic/ImagenHub/tree/main" target="_blank">ImagenHub</a> and <a href="https://github.com/TIGER-AI-Lab/VideoGenHub" target="_blank">VideoGenHub</a>.</p>
|
47 |
</div>
|
48 |
"""
|
49 |
|