Update app.py
Browse files
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)
|
| 100 |
outputs=[
|
| 101 |
-
gr.Image(label="Prediction")
|
| 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",
|