Rimjhim Mittal commited on
Commit
37f09f5
·
unverified ·
2 Parent(s): fa849ec676ece3

Merge pull request #1 from ModECI/main

Browse files
.github/workflows/sync.yml ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Sync to Hugging Face hub
2
+ on:
3
+ push:
4
+ branches: [main]
5
+
6
+ # to run this workflow manually from the Actions tab
7
+ workflow_dispatch:
8
+
9
+ jobs:
10
+ sync-to-hub:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ with:
15
+ fetch-depth: 0
16
+ lfs: true
17
+ - name: Push to hub
18
+ env:
19
+ HF_TOKEN: ${{ secrets.HF_TOKEN }}
20
+ run: git push https://pgleeson:$HF_TOKEN@huggingface.co/spaces/ModECI/MDF-UI main
.github/workflows/teststreamlit.yml ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: Test Streamlit app
2
+
3
+ on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
+ branches: [ "main" ]
8
+
9
+ permissions:
10
+ contents: read
11
+
12
+ jobs:
13
+ streamlit:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - uses: actions/setup-python@v5
18
+ with:
19
+ python-version: '3.11'
20
+ - uses: streamlit/streamlit-app-action@v0.0.3
21
+ with:
22
+ app-path: app.py
23
+ ruff: true
app.py CHANGED
@@ -335,9 +335,9 @@ def main():
335
  st.image("logo.jpg")
336
  with header2:
337
  with st.container():
338
- st.title("Welcome to Model Description Format")
339
  st.write("ModECI (Model Exchange and Convergence Initiative) is a multi-investigator collaboration that aims to develop a standardized format for exchanging computational models across diverse software platforms and domains of scientific research and technology development, with a particular focus on neuroscience, Machine Learning and Artificial Intelligence. Refer to https://modeci.org/ for more.")
340
- st.header("Lets get started! Choose one of the following methods.")
341
  if __name__ == "__main__":
342
  main()
343
 
 
335
  st.image("logo.jpg")
336
  with header2:
337
  with st.container():
338
+ st.title("Welcome to the Model Description Format UI")
339
  st.write("ModECI (Model Exchange and Convergence Initiative) is a multi-investigator collaboration that aims to develop a standardized format for exchanging computational models across diverse software platforms and domains of scientific research and technology development, with a particular focus on neuroscience, Machine Learning and Artificial Intelligence. Refer to https://modeci.org/ for more.")
340
+ st.header("Let's get started! Choose one of the options on the left to load an MDF model.")
341
  if __name__ == "__main__":
342
  main()
343