cyrusyc commited on
Commit
3173358
·
1 Parent(s): e473a42

test streamlit

Browse files
README.md CHANGED
@@ -5,7 +5,7 @@ colorFrom: yellow
5
  colorTo: indigo
6
  sdk: streamlit
7
  sdk_version: 1.25.0
8
- app_file: serve/app.py
9
  pinned: true
10
  ---
11
 
 
5
  colorTo: indigo
6
  sdk: streamlit
7
  sdk_version: 1.25.0
8
+ app_file: mlip_arena/serve/app.py
9
  pinned: true
10
  ---
11
 
mlip_arena/serve/app.py CHANGED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ x = st.slider('Select a value')
4
+ st.write(x, 'squared is', x * x)
mlip_arena/tasks/nacl.py CHANGED
@@ -1,5 +1,7 @@
1
 
 
2
  from torch_dftd.torch_dftd3_calculator import TorchDFTD3Calculator
3
 
4
  from mlip_arena.models import REGISTRY_FILE
5
 
 
 
1
 
2
+ import yaml
3
  from torch_dftd.torch_dftd3_calculator import TorchDFTD3Calculator
4
 
5
  from mlip_arena.models import REGISTRY_FILE
6
 
7
+ yaml.load(open(REGISTRY_FILE), Loader=yaml.FullLoader)