bug
Browse files
app.py
CHANGED
@@ -72,7 +72,7 @@ def display_dti():
|
|
72 |
embedding = molbert_model.transform([smiles])
|
73 |
else:
|
74 |
st.write('No pre-trained version of HyperPCM is available for the chosen encoder.')
|
75 |
-
|
76 |
if embedding is not None:
|
77 |
st.write(f'{selected_encoder} embedding')
|
78 |
st.write(embedding)
|
|
|
72 |
embedding = molbert_model.transform([smiles])
|
73 |
else:
|
74 |
st.write('No pre-trained version of HyperPCM is available for the chosen encoder.')
|
75 |
+
embedding = None
|
76 |
if embedding is not None:
|
77 |
st.write(f'{selected_encoder} embedding')
|
78 |
st.write(embedding)
|