improving layout
Browse files
app.py
CHANGED
@@ -205,7 +205,7 @@ def atomlenz(modelfile):
|
|
205 |
st.write("No valid chemical structure recognized")
|
206 |
else:
|
207 |
img = Draw.MolToImage(m)
|
208 |
-
st.image(img, caption=f"{smiles}", use_column_width=
|
209 |
print(pred)
|
210 |
|
211 |
|
|
|
205 |
st.write("No valid chemical structure recognized")
|
206 |
else:
|
207 |
img = Draw.MolToImage(m)
|
208 |
+
st.image(img, caption=f"Recognized structure: {smiles}", use_column_width=False, width=400)
|
209 |
print(pred)
|
210 |
|
211 |
|