Spaces:
Running
Running
File size: 278 Bytes
9d651cc af91e69 8a8d3eb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
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) |