File size: 225 Bytes
d1103c4
 
 
6935007
 
d9d5e3b
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'))
iface.launch()