Update app.py
Browse files
app.py
CHANGED
|
@@ -232,8 +232,8 @@ with gr.Blocks() as demo:
|
|
| 232 |
|
| 233 |
|
| 234 |
|
| 235 |
-
components.append(gr.Textbox(value=smiles,label= f"SMILES of Reaction {i + 1}
|
| 236 |
-
components.append(gr.Image(value=png_file,label= f"RDKit Image of Reaction {i + 1}
|
| 237 |
return components # 返回包含所有 SMILES Textbox 组件的列表
|
| 238 |
|
| 239 |
download_json = gr.File(label="Download JSON File",)
|
|
|
|
| 232 |
|
| 233 |
|
| 234 |
|
| 235 |
+
components.append(gr.Textbox(value=smiles,label= f"SMILES of Reaction {i + 1}", show_copy_button=True, interactive=False))
|
| 236 |
+
components.append(gr.Image(value=png_file,label= f"RDKit Image of Reaction {i + 1}"))
|
| 237 |
return components # 返回包含所有 SMILES Textbox 组件的列表
|
| 238 |
|
| 239 |
download_json = gr.File(label="Download JSON File",)
|