File size: 234 Bytes
1fc0c38
 
 
 
 
 
 
 
6b58f50
1fc0c38
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import gradio as gr
from SmilesPeTokenizer import smilespe_tokenizer

iface = gr.Interface(
    fn = smilespe_tokenizer,
    inputs=[
        gr.Textbox(label="SMILES"),         
    ],
    outputs=["text", "text"]
)

iface.launch()