update figure references
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ def retrieval():
|
|
104 |
'Select target encoder',(['SeqVec'])
|
105 |
)
|
106 |
if sequence:
|
107 |
-
st.image('figures/
|
108 |
with st.spinner('Encoding in progress...'):
|
109 |
|
110 |
with open(os.path.join(data_path, f'Lenselink/processed/SeqVec_encoding_test.pickle'), 'rb') as handle:
|
@@ -130,7 +130,7 @@ def retrieval():
|
|
130 |
selected_database = 'DUDE'
|
131 |
c1, c2 = st.columns(2)
|
132 |
with c2:
|
133 |
-
st.image('figures/
|
134 |
with st.spinner('Loading data...'):
|
135 |
batch_size = 2048
|
136 |
dataset = DrugRetrieval(os.path.join(data_path, selected_database), sequence, query_embedding)
|
@@ -141,7 +141,7 @@ def retrieval():
|
|
141 |
selected_encoder = st.selectbox(
|
142 |
'Select drug encoder',(['CDDD'])
|
143 |
)
|
144 |
-
st.image('figures/
|
145 |
st.success('Encoding complete.')
|
146 |
|
147 |
if sequence == ex_target and selected_database == 'Lenselink':
|
|
|
104 |
'Select target encoder',(['SeqVec'])
|
105 |
)
|
106 |
if sequence:
|
107 |
+
st.image('figures/target_encoder_done.png', use_column_width='always')
|
108 |
with st.spinner('Encoding in progress...'):
|
109 |
|
110 |
with open(os.path.join(data_path, f'Lenselink/processed/SeqVec_encoding_test.pickle'), 'rb') as handle:
|
|
|
130 |
selected_database = 'DUDE'
|
131 |
c1, c2 = st.columns(2)
|
132 |
with c2:
|
133 |
+
st.image('figures/multi_drugs.png', use_column_width='always') #, width=125)
|
134 |
with st.spinner('Loading data...'):
|
135 |
batch_size = 2048
|
136 |
dataset = DrugRetrieval(os.path.join(data_path, selected_database), sequence, query_embedding)
|
|
|
141 |
selected_encoder = st.selectbox(
|
142 |
'Select drug encoder',(['CDDD'])
|
143 |
)
|
144 |
+
st.image('figures/drug_encoder_done.png', use_column_width='always')
|
145 |
st.success('Encoding complete.')
|
146 |
|
147 |
if sequence == ex_target and selected_database == 'Lenselink':
|