jibsn commited on
Commit
cf18899
·
verified ·
1 Parent(s): d34ff79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -96,9 +96,9 @@ def predict(input_image):
96
 
97
  iface = gr.Interface(
98
  fn=predict,
99
- inputs=gr.Image(label="Upload molecular image", type="pil", show_label=False).style(height=256),
100
  outputs=[
101
- gr.Image(label="Prediction").style(height=256),
102
  gr.Text(label="SMILES").style(show_copy_button=True),
103
  ],
104
  title="OCSR",
 
96
 
97
  iface = gr.Interface(
98
  fn=predict,
99
+ inputs=gr.Image(label="Upload molecular image", type="pil", show_label=False),
100
  outputs=[
101
+ gr.Image(label="Prediction"),
102
  gr.Text(label="SMILES").style(show_copy_button=True),
103
  ],
104
  title="OCSR",