Update app.py
Browse files
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")
|