tyang4 commited on
Commit
befe36d
·
verified ·
1 Parent(s): d431150

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +5 -17
src/streamlit_app.py CHANGED
@@ -1,6 +1,6 @@
1
  import streamlit as st
2
  st.set_page_config(
3
- page_title="🔬 Explainable Multi-Agent BioData Constructor",
4
  layout="centered",
5
  initial_sidebar_state="collapsed"
6
  )
@@ -56,18 +56,10 @@ def download_if_missing(url, local_path):
56
  with open(local_path, "wb") as f:
57
  f.write(requests.get(url).content)
58
 
59
- base_url = "https://github.com/Tianyu-yang-anna/EcoData-collector/releases/download/v2.0"
60
  files = {
61
- "Functional_groups.xlsx": "/tmp/Functional_groups.xlsx",
62
- "Functional_groups_embeddings.npy": "/tmp/Functional_groups_embeddings.npy",
63
- "PID_SMILES_Names.xlsx": "/tmp/PID_SMILES_Names.xlsx",
64
- "PID_SMILES_Names_embeddings.npy": "/tmp/PID_SMILES_Names_embeddings.npy",
65
- "Polymerization.Information_set1.xlsx": "/tmp/Polymerization.Information_set1.xlsx",
66
- "Polymerization.Information_set1_embeddings.npy": "/tmp/Polymerization.Information_set1_embeddings.npy",
67
- "Polymerization.Information_set2.xlsx": "/tmp/Polymerization.Information_set2.xlsx",
68
- "Polymerization.Information_set2_embeddings.npy": "/tmp/Polymerization.Information_set2_embeddings.npy",
69
- "Properties.xlsx": "/tmp/Properties.xlsx",
70
- "Properties_embeddings.npy": "/tmp/Properties_embeddings.npy"
71
  }
72
 
73
 
@@ -127,11 +119,7 @@ def get_encoder():
127
 
128
  # ============================== FAISS INDEX LOADING ==============================
129
  csv_file_pairs = [
130
- ("/tmp/Functional_groups.xlsx", "/tmp/Functional_groups_embeddings.npy"),
131
- ("/tmp/PID_SMILES_Names.xlsx", "/tmp/PID_SMILES_Names_embeddings.npy"),
132
- ("/tmp/Polymerization.Information_set1.xlsx", "/tmp/Polymerization.Information_set1_embeddings.npy"),
133
- ("/tmp/Polymerization.Information_set2.xlsx", "/tmp/Polymerization.Information_set2_embeddings.npy"),
134
- ("/tmp/Properties.xlsx", "/tmp/Properties_embeddings.npy"),
135
  ]
136
 
137
 
 
1
  import streamlit as st
2
  st.set_page_config(
3
+ page_title="🧬 Quest2DataAgent_EcoData_PolyData",
4
  layout="centered",
5
  initial_sidebar_state="collapsed"
6
  )
 
56
  with open(local_path, "wb") as f:
57
  f.write(requests.get(url).content)
58
 
59
+ base_url = "https://github.com/Tianyu-yang-anna/EcoData-collector/releases/download/v3.0"
60
  files = {
61
+ "Merged_all_datasets.xlsx": "/tmp/Merged_all_datasets.xlsx",
62
+ "Merged_all_datasets_embeddings.npy": "/tmp/Merged_all_datasets_embeddings.npy",
 
 
 
 
 
 
 
 
63
  }
64
 
65
 
 
119
 
120
  # ============================== FAISS INDEX LOADING ==============================
121
  csv_file_pairs = [
122
+ ("/tmp/Merged_all_datasets.xlsx", "/tmp/Merged_all_datasets_embeddings.npy"),
 
 
 
 
123
  ]
124
 
125