File size: 269 Bytes
d1103c4
 
 
6935007
 
615ebd4
a734bea
1
2
3
4
5
6
7
import gradio as gr
import soundex

model = soundex.Soundex()

iface = gr.Interface(fn=model.compare, inputs=[gr.Textbox(label='Text 1'), gr.Textbox(label='Text 2')], outputs=gr.Textbox(label='Sound distance'), title="Find how different two words sound")
iface.launch()