fix text
This commit is contained in:
parent
8582472e70
commit
421c94b1e3
1 changed files with 8 additions and 9 deletions
15
app.py
15
app.py
|
|
@ -70,11 +70,11 @@ def home():
|
|||
if selected_display and selected_display != "":
|
||||
selected_cas = selected_display.split(" - ")[0]
|
||||
if ";" in selected_cas:
|
||||
selected_cas = st.selectbox(options=selected_cas.split(";"), label="Multiple CAS found, please select one:")
|
||||
selected_cas = st.selectbox(options=selected_cas.split(";"), label="CAS multipli, selezionarne uno:")
|
||||
elif "/" in selected_cas:
|
||||
selected_cas = st.selectbox(options=selected_cas.split("/"), label="Multiple CAS found, please select one:")
|
||||
selected_cas = st.selectbox(options=selected_cas.split("/"), label="CAS multipli, selezionarne uno:")
|
||||
st.session_state.selected_cas = selected_cas.strip()
|
||||
st.success(f"CAS Number selezionato: {selected_cas}")
|
||||
st.success(f"CAS selezionato: {selected_cas}")
|
||||
else:
|
||||
# Nessun risultato trovato: permetti di usare l'input manuale
|
||||
st.warning("Nessun risultato trovato nel database.")
|
||||
|
|
@ -82,7 +82,7 @@ def home():
|
|||
st.session_state.selected_cas = input.strip()
|
||||
st.success(f"CAS salvato: {input}")
|
||||
else:
|
||||
st.info("INCI non trovato, scegli per CAS o modifica l'input.")
|
||||
st.info("INCI non trovato, cerca per CAS o modifica l'input.")
|
||||
|
||||
# Mostra il CAS attualmente selezionato
|
||||
if st.session_state.selected_cas:
|
||||
|
|
@ -97,7 +97,7 @@ def home():
|
|||
*v0.2.1 - 2026-01-13*
|
||||
- Fix minore su ricerca CosIng
|
||||
|
||||
*v0.2.0 - 2026-01-05*
|
||||
**v0.2.0 - 2026-01-05**
|
||||
- Aggiunta ricerca per nome INCI
|
||||
- Possibilità di filtrare per singoli CAS in caso di multipli per stesso INCI
|
||||
- Verifica se il link al download esiste prima di generare il PDF
|
||||
|
|
@ -105,10 +105,9 @@ def home():
|
|||
- La ricerca per ingrediente su ECHA non va più in errore se almeno uno dei tre dossier esiste
|
||||
- Filtrati i dossier ECHA se sono di tipo 'full' e sono di tipo 'Lead' (sempre Active)
|
||||
---
|
||||
""")
|
||||
|
||||
st.markdown("""
|
||||
*Versione 0.1.0 | 2025-12-18*
|
||||
### v0.1
|
||||
**v0.1.0 - 2025-12-18**
|
||||
- Release iniziale
|
||||
- Funzionalità di ricerca per Numero CAS
|
||||
- Integrazione con ECHA
|
||||
|
|
|
|||
Loading…
Reference in a new issue