thomas0809 commited on
Commit
d30c1c3
β€’
1 Parent(s): 136efdc

add copy button

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. app.py +2 -2
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: πŸ“–
4
  colorFrom: blue
5
  colorTo: yellow
6
  sdk: gradio
7
- sdk_version: 3.9.1
8
  app_file: app.py
9
  pinned: false
10
  license: mit
 
4
  colorFrom: blue
5
  colorTo: yellow
6
  sdk: gradio
7
+ sdk_version: 3.24.1
8
  app_file: app.py
9
  pinned: false
10
  license: mit
app.py CHANGED
@@ -45,8 +45,8 @@ iface = gr.Interface(
45
  inputs=gr.Image(label="Upload molecular image", show_label=False).style(height=256),
46
  outputs=[
47
  gr.Image(label="Prediction").style(height=256),
48
- gr.Textbox(label="SMILES"),
49
- gr.Textbox(label="Molfile"),
50
  ],
51
  allow_flagging="auto",
52
  title="MolScribe",
 
45
  inputs=gr.Image(label="Upload molecular image", show_label=False).style(height=256),
46
  outputs=[
47
  gr.Image(label="Prediction").style(height=256),
48
+ gr.Textbox(label="SMILES").style(show_copy_button=True),
49
+ gr.Textbox(label="Molfile").style(show_copy_button=True),
50
  ],
51
  allow_flagging="auto",
52
  title="MolScribe",