sound-distance / app.py
catasaurus's picture
Fixed error
615ebd4
raw
history blame contribute delete
No virus
269 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'), title="Find how different two words sound")
iface.launch()