Spaces:
Running
Running
[fix] rating display bug
Browse files
main.py
CHANGED
@@ -71,20 +71,20 @@ if filtered_data:
|
|
71 |
required=None,
|
72 |
default=None, max_chars=None, validate=None),
|
73 |
"DALLE_3": st.column_config.ImageColumn(label="DALLE_3", width="small", help=None),
|
74 |
-
"DAllE_3_Human": st.column_config.NumberColumn("Rating Human", format="
|
75 |
"DeepFloyd_I_XL_v1": st.column_config.ImageColumn(label="DeepFloyd", width="small",
|
76 |
help="DeepFloyd_I_XL_v1"),
|
77 |
-
"DeepFloyd_I_XL_v1_Human": st.column_config.NumberColumn("Rating Human", format="
|
78 |
width="small", help="Rating Human for DeepFloyd"),
|
79 |
"Midjourney_6": st.column_config.ImageColumn(label="Midjourney", width="small", help="Midjourney_6"),
|
80 |
-
"Midjourney_6_Human": st.column_config.NumberColumn("Rating Human", format="
|
81 |
width="small", help="Rating Human for Midjourney_6"),
|
82 |
"SDXL_2_1": st.column_config.ImageColumn(label="SDXL_2_1", width="small", help=None),
|
83 |
-
"SDXL_2_1_Human": st.column_config.NumberColumn("Rating Human", format="
|
84 |
"SDXL_Base": st.column_config.ImageColumn(label="SDXL_Base", width="small", help=None),
|
85 |
-
"SDXL_Base_Human": st.column_config.NumberColumn("Rating Human", format="
|
86 |
"SDXL_Turbo": st.column_config.ImageColumn(label="SDXL_Turbo", width="small", help=None),
|
87 |
-
"SDXL_Turbo_Human": st.column_config.NumberColumn("Rating Human", format="
|
88 |
},
|
89 |
hide_index=True, selection_mode="single-row")
|
90 |
else:
|
|
|
71 |
required=None,
|
72 |
default=None, max_chars=None, validate=None),
|
73 |
"DALLE_3": st.column_config.ImageColumn(label="DALLE_3", width="small", help=None),
|
74 |
+
"DAllE_3_Human": st.column_config.NumberColumn("Rating Human", format="%.1f", width="small", help="Rating Human for DALLE_3"),
|
75 |
"DeepFloyd_I_XL_v1": st.column_config.ImageColumn(label="DeepFloyd", width="small",
|
76 |
help="DeepFloyd_I_XL_v1"),
|
77 |
+
"DeepFloyd_I_XL_v1_Human": st.column_config.NumberColumn("Rating Human", format="%.1f",
|
78 |
width="small", help="Rating Human for DeepFloyd"),
|
79 |
"Midjourney_6": st.column_config.ImageColumn(label="Midjourney", width="small", help="Midjourney_6"),
|
80 |
+
"Midjourney_6_Human": st.column_config.NumberColumn("Rating Human", format="%.1f",
|
81 |
width="small", help="Rating Human for Midjourney_6"),
|
82 |
"SDXL_2_1": st.column_config.ImageColumn(label="SDXL_2_1", width="small", help=None),
|
83 |
+
"SDXL_2_1_Human": st.column_config.NumberColumn("Rating Human", format="%.1f", width="small", help="Rating Human for SDXL_2_1"),
|
84 |
"SDXL_Base": st.column_config.ImageColumn(label="SDXL_Base", width="small", help=None),
|
85 |
+
"SDXL_Base_Human": st.column_config.NumberColumn("Rating Human", format="%.1f", width="small", help="Rating Human for SDXL_Base"),
|
86 |
"SDXL_Turbo": st.column_config.ImageColumn(label="SDXL_Turbo", width="small", help=None),
|
87 |
+
"SDXL_Turbo_Human": st.column_config.NumberColumn("Rating Human", format="%.1f", width="small", help="Rating Human for SDXL_Turbo"),
|
88 |
},
|
89 |
hide_index=True, selection_mode="single-row")
|
90 |
else:
|