Spaces:
Running
Running
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +9 -2
src/streamlit_app.py
CHANGED
@@ -677,7 +677,14 @@ FAIRCHEM_MODELS = {
|
|
677 |
}
|
678 |
# Define the available ORB models
|
679 |
ORB_MODELS = {
|
680 |
-
"V3 OMAT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
681 |
}
|
682 |
@st.cache_resource
|
683 |
def get_mace_model(model_path, device, selected_default_dtype):
|
@@ -917,7 +924,7 @@ if atoms is not None:
|
|
917 |
results["Error"] = "Missing FairChem reference energies."
|
918 |
calculation_possible = False
|
919 |
|
920 |
-
|
921 |
st.write("Calculating isolated atom energies with MACE...")
|
922 |
unique_atomic_numbers = sorted(list(set(atomic_numbers)))
|
923 |
atom_counts = {Z_unique: np.count_nonzero(atomic_numbers == Z_unique) for Z_unique in unique_atomic_numbers}
|
|
|
677 |
}
|
678 |
# Define the available ORB models
|
679 |
ORB_MODELS = {
|
680 |
+
"V3 OMAT Conservative (inf)": "orb-v3-conservative-inf-omat",
|
681 |
+
"V3 OMAT Conservative (20)": "orb-v3-conservative-20-omat",
|
682 |
+
"V3 OMAT Direct (inf)": "orb-v3-direct-inf-omat",
|
683 |
+
"V3 OMAT Direct (20)": "orb-v3-direct-20-omat",
|
684 |
+
"V3 MPA Conservative (inf)": "orb-v3-conservative-inf-mpa",
|
685 |
+
"V3 MPA Conservative (20)": "orb-v3-conservative-20-mpa",
|
686 |
+
"V3 MPA Direct (inf)": "orb-v3-direct-inf-mpa",
|
687 |
+
"V3 MPA Direct (20)": "orb-v3-direct-20-mpa",
|
688 |
}
|
689 |
@st.cache_resource
|
690 |
def get_mace_model(model_path, device, selected_default_dtype):
|
|
|
924 |
results["Error"] = "Missing FairChem reference energies."
|
925 |
calculation_possible = False
|
926 |
|
927 |
+
else == "MACE":
|
928 |
st.write("Calculating isolated atom energies with MACE...")
|
929 |
unique_atomic_numbers = sorted(list(set(atomic_numbers)))
|
930 |
atom_counts = {Z_unique: np.count_nonzero(atomic_numbers == Z_unique) for Z_unique in unique_atomic_numbers}
|