f64 commited on
Commit ·
fe41ef2
1
Parent(s): 442df27
- my_static_methods.py +1 -1
- pages/2_TECT_IDXYZ.py +4 -3
my_static_methods.py
CHANGED
|
@@ -95,7 +95,7 @@ def list_files_hf(repo: HfRepo) -> list[str]:
|
|
| 95 |
#lst = fs.ls(path_hf, detail=False)
|
| 96 |
lstGlob = fs.glob(path_hf + "**") # map(os.path.basename, lstGlob)
|
| 97 |
lstNames = [fname.replace(path_hf, "") for fname in lstGlob if fname.lower().endswith(".csv") or fname.lower().endswith(".zip")]
|
| 98 |
-
print(f"ПРОЧИТАНО В list_files_hf() : {lstNames=}")
|
| 99 |
return lstNames
|
| 100 |
|
| 101 |
###
|
|
|
|
| 95 |
#lst = fs.ls(path_hf, detail=False)
|
| 96 |
lstGlob = fs.glob(path_hf + "**") # map(os.path.basename, lstGlob)
|
| 97 |
lstNames = [fname.replace(path_hf, "") for fname in lstGlob if fname.lower().endswith(".csv") or fname.lower().endswith(".zip")]
|
| 98 |
+
#print(f"ПРОЧИТАНО В list_files_hf() : {lstNames=}")
|
| 99 |
return lstNames
|
| 100 |
|
| 101 |
###
|
pages/2_TECT_IDXYZ.py
CHANGED
|
@@ -43,9 +43,10 @@ def save_dataframe_nodialog_idxyz(new_filename, dfToSave):
|
|
| 43 |
#st.sidebar.markdown("🧊 проверка по пакетам XYZ")
|
| 44 |
|
| 45 |
with st.container():
|
| 46 |
-
cols1 = st.columns([1,12]
|
| 47 |
-
|
| 48 |
-
cols1[
|
|
|
|
| 49 |
|
| 50 |
#col1, col2 = st.columns([2,5])
|
| 51 |
col1, col2 = st.columns([4,2])
|
|
|
|
| 43 |
#st.sidebar.markdown("🧊 проверка по пакетам XYZ")
|
| 44 |
|
| 45 |
with st.container():
|
| 46 |
+
cols1 = st.columns([1,12], vertical_alignment="center")
|
| 47 |
+
strBanner = "🔮 проверка предсказаний по пакетам ID_XYZ. \n 📜 формат CSV. \n 🧊 названия столбцов ID;X;Y;Z. \n 📐 размер пакетов одинаковый."
|
| 48 |
+
cols1[0].popover("❓", help=strBanner).markdown(DescriptionMarkdown())
|
| 49 |
+
cols1[1].info(strBanner)
|
| 50 |
|
| 51 |
#col1, col2 = st.columns([2,5])
|
| 52 |
col1, col2 = st.columns([4,2])
|