moldenhof commited on
Commit
a51d22b
1 Parent(s): 7ab2ec8

improving layout

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=True)
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