sound-distance / app.py
catasaurus's picture
Added labels
d9d5e3b
raw
history blame
225 Bytes
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()