RomanDictionary / app.py
konbraphat51's picture
update!
af91e69
raw
history blame contribute delete
278 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)