RomanDictionary / app.py
konbraphat51
update
8a8d3eb
raw
history blame
277 Bytes
import gradio as gr
from RomanDictionary.Seacher import Searcher
searcher = Searcher()
searcher.import_data("Th2Eng")
app = gr.Interface(
fn=searcher.search,
inputs=["text", gr.Radio(["Eng", "Romanized", "Th"])],
outputs=gr.DataFrame()
)
app.launch(share=False)