BpeTokenizer / app.py
saicharan2804
First commit
5cf5457
raw
history blame
334 Bytes
import gradio as gr
from BpeTokenizer import bpe_tokenizer
# def tem(name, num = 3):
# return name + num
# iface = gr.Interface(fn=tem, inputs=["text", "text"], outputs="text")
iface = gr.Interface(
fn = bpe_tokenizer,
inputs=[
gr.Textbox(label="SMILES"),
],
outputs="text"
)
iface.launch()