Spaces:
Runtime error
Runtime error
Commit
·
779f37a
1
Parent(s):
d9d5e3b
Added texboxes
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.TextBox(label='Text 1'), 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'))
|
| 7 |
iface.launch()
|