catasaurus commited on
Commit
6935007
1 Parent(s): 7007674

fixed error

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1,5 +1,7 @@
1
  import gradio as gr
2
  import soundex
3
 
4
- iface = gr.Interface(fn=soundex.compare, inputs=['text', 'text'], outputs='text')
 
 
5
  iface.launch()
 
1
  import gradio as gr
2
  import soundex
3
 
4
+ model = soundex.Soundex()
5
+
6
+ iface = gr.Interface(fn=model.compare, inputs=['text', 'text'], outputs='text')
7
  iface.launch()