Yin Fang
commited on
Commit
Β·
e6f430b
1
Parent(s):
aec17f8
Update app.py
Browse files
app.py
CHANGED
@@ -98,11 +98,10 @@ def opt_process(opt_input):
|
|
98 |
|
99 |
input = opt_input
|
100 |
|
101 |
-
smis_input =
|
102 |
mols_input = []
|
103 |
-
|
104 |
-
|
105 |
-
mols_input.append(mol)
|
106 |
|
107 |
opt_input_img = Draw.MolsToGridImage(
|
108 |
mols_input,
|
|
|
98 |
|
99 |
input = opt_input
|
100 |
|
101 |
+
smis_input = sf.decoder(input)
|
102 |
mols_input = []
|
103 |
+
mol = Chem.MolFromSmiles(smis_input)
|
104 |
+
mols_input.append(mol)
|
|
|
105 |
|
106 |
opt_input_img = Draw.MolsToGridImage(
|
107 |
mols_input,
|