Spaces:
Running
Running
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -0
src/streamlit_app.py
CHANGED
@@ -31,6 +31,8 @@ try:
|
|
31 |
except ImportError as e:
|
32 |
print(f"Failed to import MatterSimCalculator: {e}")
|
33 |
mattersim_available = False
|
|
|
|
|
34 |
# Define version threshold
|
35 |
required_version = "2.0.0"
|
36 |
|
|
|
31 |
except ImportError as e:
|
32 |
print(f"Failed to import MatterSimCalculator: {e}")
|
33 |
mattersim_available = False
|
34 |
+
from mattersim.forcefield import MatterSimCalculator
|
35 |
+
mattersim_available = True
|
36 |
# Define version threshold
|
37 |
required_version = "2.0.0"
|
38 |
|