Spaces:
Build error
Build error
| 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) |