BpeTokenizer / app.py
saicharan2804
Added token IDs
409a8a3
raw
history blame contribute delete
219 Bytes
import gradio as gr
from BpeTokenizer import bpe_tokenizer
iface = gr.Interface(
fn = bpe_tokenizer,
inputs=[
gr.Textbox(label="SMILES"),
],
outputs=["text", "text"]
)
iface.launch()