catasaurus commited on
Commit
d9d5e3b
·
1 Parent(s): 6935007

Added labels

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,5 +3,5 @@ import soundex
3
 
4
  model = soundex.Soundex()
5
 
6
- iface = gr.Interface(fn=model.compare, inputs=['text', 'text'], outputs='text')
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()