import gradio as gr import khmerphonemizer iface = gr.Interface( title="Khmer Phonemizer", description="Convert Khmer & English into Phonetic Symbols", fn=khmerphonemizer.phonemize, inputs="text", outputs=["text"], allow_flagging="never", ) iface.launch(show_api=False)