Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,17 +33,17 @@ def display_table(table_choice):
|
|
| 33 |
return dff1_2
|
| 34 |
elif table_choice == "Option 3: Safety and Responsibility Ranking":
|
| 35 |
return dff1_3
|
| 36 |
-
elif table_choice == "Option
|
| 37 |
return dff2_1
|
| 38 |
-
elif table_choice == "Option
|
| 39 |
return dff2_2
|
| 40 |
-
elif table_choice == "Option
|
| 41 |
return dff2_3
|
| 42 |
-
elif table_choice == "Option
|
| 43 |
return dff3_1
|
| 44 |
-
elif table_choice == "Option
|
| 45 |
return dff3_2
|
| 46 |
-
elif table_choice == "Option
|
| 47 |
return dff3_3
|
| 48 |
|
| 49 |
with gr.Blocks() as demo:
|
|
@@ -51,14 +51,18 @@ with gr.Blocks() as demo:
|
|
| 51 |
"""
|
| 52 |
# Evaluation of Image Generation Capabilities of Artificial Intelligence Models / 人工智能模型图像生成能力综合评测
|
| 53 |
by Zhenhui (Jack) Jiang<sup>1</sup>, Zhengyu Wu<sup>1</sup>, Jiaxin Li<sup>1</sup>, Haozhe Xu<sup>2</sup>, Yifan Wu<sup>1</sup>,Yi Lu<sup>1</sup>/ 蒋镇辉<sup>1</sup>,武正昱<sup>1</sup>,李佳欣<sup>1</sup>,徐昊哲<sup>2</sup>,吴轶凡<sup>1</sup>,鲁艺<sup>1</sup><br>
|
| 54 |
-
<sup>1</sup>HKU Business School, <sup>2</sup>
|
| 55 |
For access to the full research report, please contact Prof. Jiang at jiangz@hku.hk.
|
| 56 |
"""
|
| 57 |
)
|
| 58 |
|
| 59 |
|
| 60 |
with gr.Row():
|
| 61 |
-
dropdown = gr.Dropdown(choices=["Option 1: Image Generation Test Ranking", "Option
|
|
|
|
|
|
|
|
|
|
|
|
|
| 62 |
label="Select a Leaderboard",
|
| 63 |
value="Option 1: Image Generation Test Ranking") # 设置默认值为"Table 1"
|
| 64 |
|
|
|
|
| 33 |
return dff1_2
|
| 34 |
elif table_choice == "Option 3: Safety and Responsibility Ranking":
|
| 35 |
return dff1_3
|
| 36 |
+
elif table_choice == " Option 1.1: Dimension 1-Alignment with Instruction":
|
| 37 |
return dff2_1
|
| 38 |
+
elif table_choice == " Option 1.2: Dimension 2-Image Integrity":
|
| 39 |
return dff2_2
|
| 40 |
+
elif table_choice == " Option 1.3: Dimension 3-Image Aesthetics":
|
| 41 |
return dff2_3
|
| 42 |
+
elif table_choice == " Option 2.1: Dimension 1-Alignment with Reference":
|
| 43 |
return dff3_1
|
| 44 |
+
elif table_choice == " Option 2.2: Dimension 2-Image Integrity":
|
| 45 |
return dff3_2
|
| 46 |
+
elif table_choice == " Option 2.3: Dimension 3-Image Aesthetics":
|
| 47 |
return dff3_3
|
| 48 |
|
| 49 |
with gr.Blocks() as demo:
|
|
|
|
| 51 |
"""
|
| 52 |
# Evaluation of Image Generation Capabilities of Artificial Intelligence Models / 人工智能模型图像生成能力综合评测
|
| 53 |
by Zhenhui (Jack) Jiang<sup>1</sup>, Zhengyu Wu<sup>1</sup>, Jiaxin Li<sup>1</sup>, Haozhe Xu<sup>2</sup>, Yifan Wu<sup>1</sup>,Yi Lu<sup>1</sup>/ 蒋镇辉<sup>1</sup>,武正昱<sup>1</sup>,李佳欣<sup>1</sup>,徐昊哲<sup>2</sup>,吴轶凡<sup>1</sup>,鲁艺<sup>1</sup><br>
|
| 54 |
+
<sup>1</sup>HKU Business School, <sup>2</sup>School of Management, Xi'an Jiaotong University<br>
|
| 55 |
For access to the full research report, please contact Prof. Jiang at jiangz@hku.hk.
|
| 56 |
"""
|
| 57 |
)
|
| 58 |
|
| 59 |
|
| 60 |
with gr.Row():
|
| 61 |
+
dropdown = gr.Dropdown(choices=["Option 1: Image Generation Test Ranking", " Option 1.1: Dimension 1-Alignment with Instruction",
|
| 62 |
+
" Option 1.2: Dimension 2-Image Integrity", " Option 1.3: Dimension 3-Image Aesthetics",
|
| 63 |
+
"Option 2: Image Revision Test Ranking", " Option 2.1: Dimension 1-Alignment with Reference",
|
| 64 |
+
" Option 2.2: Dimension 2-Image Integrity"," Option 2.3: Dimension 3-Image Aesthetics",
|
| 65 |
+
"Option 3: Safety and Responsibility Ranking"],
|
| 66 |
label="Select a Leaderboard",
|
| 67 |
value="Option 1: Image Generation Test Ranking") # 设置默认值为"Table 1"
|
| 68 |
|