Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Jan Mühlnikel
commited on
Commit
·
5392bec
1
Parent(s):
3718e9a
text instead of codes as crs
Browse files
modules/singlematch_result_table.py
CHANGED
|
@@ -98,10 +98,16 @@ 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", "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={
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
"iati_id": st.column_config.TextColumn(
|
| 106 |
"IATI ID",
|
| 107 |
help="IATI Project ID",
|
|
|
|
| 98 |
st.write(" ")
|
| 99 |
st.write("----------------------")
|
| 100 |
st.dataframe(
|
| 101 |
+
result_df[["similarity", "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={
|
| 105 |
+
"similarity": st.column_config.TextColumn(
|
| 106 |
+
"Similarity",
|
| 107 |
+
help="Similarity",
|
| 108 |
+
disabled=True,
|
| 109 |
+
width="small"
|
| 110 |
+
),
|
| 111 |
"iati_id": st.column_config.TextColumn(
|
| 112 |
"IATI ID",
|
| 113 |
help="IATI Project ID",
|