Spaces:
Runtime error
Runtime error
Commit
·
d9d5e3b
1
Parent(s):
6935007
Added labels
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=['
|
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'))
|
7 |
iface.launch()
|