Lyem commited on
Commit
745ed38
1 Parent(s): 2eeb0d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ def most_sim(input):
7
  sim_lst = model.wv.most_similar(input)
8
  sim_str = ""
9
  for tup in sim_lst:
10
- sim_str = sim_str + tup + "\n"
11
  return sim_str
12
 
13
  demo = gr.Interface(fn=most_sim, inputs="text", outputs="text")
 
7
  sim_lst = model.wv.most_similar(input)
8
  sim_str = ""
9
  for tup in sim_lst:
10
+ sim_str = sim_str + str(tup) + "\n"
11
  return sim_str
12
 
13
  demo = gr.Interface(fn=most_sim, inputs="text", outputs="text")