Erva Ulusoy commited on
Commit
89677ab
·
1 Parent(s): 7c85396

updated requirements

Browse files
Files changed (2) hide show
  1. ProtHGT_app.py +8 -6
  2. requirements.txt +1 -4
ProtHGT_app.py CHANGED
@@ -1,10 +1,12 @@
1
- # import os
 
2
 
3
- # # Run setup script if not already executed
4
- # if not os.path.exists(".setup_done"):
5
- # os.system("bash setup.sh")
6
- # with open(".setup_done", "w") as f:
7
- # f.write("done")
 
8
 
9
  import streamlit as st
10
  import streamlit.components.v1 as components
 
1
+ import os
2
+
3
 
4
+ with st.spinner("Please wait while we prepare the environment. This may take a few minutes only on the first run..."):
5
+ # Run setup script if not already executed
6
+ if not os.path.exists(".setup_done"):
7
+ os.system("bash setup.sh")
8
+ with open(".setup_done", "w") as f:
9
+ f.write("done")
10
 
11
  import streamlit as st
12
  import streamlit.components.v1 as components
requirements.txt CHANGED
@@ -1,7 +1,4 @@
1
  pandas
2
- torch==1.12.1 --find-links https://data.pyg.org/whl/torch-1.12.1+cpu.html
3
- torch_scatter --find-links https://data.pyg.org/whl/torch-1.12.1+cpu.html
4
- torch_sparse --find-links https://data.pyg.org/whl/torch-1.12.1+cpu.html
5
- torch_cluster --find-links https://data.pyg.org/whl/torch-1.12.1+cpu.html
6
  torch_geometric==2.2.0
7
  gdown
 
1
  pandas
2
+ torch==1.12.1
 
 
 
3
  torch_geometric==2.2.0
4
  gdown