Spaces:
Sleeping
Sleeping
Create app.py
Browse files
app.py
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
from interfaces import smiles2iupac, iupac2smiles, iupac2style, landing
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
demo = gr.TabbedInterface([smiles2iupac, iupac2smiles, iupac2style],
|
| 6 |
+
["SMILES-to-IUPAC", "IUPAC-to-SMILES", "IUPAC style prediction"],
|
| 7 |
+
title="ChemTransformerX π§ͺπ¬π§¬π¨π»βπ¬",
|
| 8 |
+
theme="HaleyCH/HaleyCH_Theme")
|
| 9 |
+
|
| 10 |
+
demo.launch(share=True)
|