Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Jan Mühlnikel
commited on
Commit
·
ce64d44
1
Parent(s):
db771ef
text instead of codes as crs
Browse files
modules/singlematch_result_table.py
CHANGED
@@ -98,7 +98,7 @@ def show_single_table(selected_project_index, projects_df, result_df):
|
|
98 |
st.write(" ")
|
99 |
st.write("----------------------")
|
100 |
st.dataframe(
|
101 |
-
result_df[["iati_id", "title_main", "orga_abbreviation", "client", "description_main", "country_name", "
|
102 |
use_container_width = True,
|
103 |
height = 35 + 35 * len(result_df),
|
104 |
column_config={
|
@@ -138,7 +138,7 @@ def show_single_table(selected_project_index, projects_df, result_df):
|
|
138 |
disabled=True,
|
139 |
width="small"
|
140 |
),
|
141 |
-
"
|
142 |
"Flag",
|
143 |
help="country flag",
|
144 |
width="small"
|
|
|
98 |
st.write(" ")
|
99 |
st.write("----------------------")
|
100 |
st.dataframe(
|
101 |
+
result_df[["iati_id", "title_main", "orga_abbreviation", "client", "description_main", "country_name", "country_flag", "sdg_list", "crs_3_code_list", "crs_5_code_list"]],
|
102 |
use_container_width = True,
|
103 |
height = 35 + 35 * len(result_df),
|
104 |
column_config={
|
|
|
138 |
disabled=True,
|
139 |
width="small"
|
140 |
),
|
141 |
+
"country_flag": st.column_config.ImageColumn(
|
142 |
"Flag",
|
143 |
help="country flag",
|
144 |
width="small"
|