Spaces:
Runtime error
Runtime error
Commit
·
615ebd4
1
Parent(s):
2ddf37b
Fixed error
Browse files
app.py
CHANGED
@@ -3,5 +3,5 @@ import soundex
|
|
3 |
|
4 |
model = soundex.Soundex()
|
5 |
|
6 |
-
iface = gr.Interface(fn=model.compare, inputs=[gr.
|
7 |
iface.launch()
|
|
|
3 |
|
4 |
model = soundex.Soundex()
|
5 |
|
6 |
+
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")
|
7 |
iface.launch()
|