felipekitamura commited on
Commit
f840320
·
verified ·
1 Parent(s): e3a05a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ Word1 = gr.Textbox()
19
  Word2 = gr.Textbox()
20
  Word3 = gr.Textbox()
21
  label = gr.Label(show_label=True, label="Word4")
22
- bp = gr.BarPlot()
23
 
24
  def inference(word1, word2, word3):
25
  output = model.similar_by_vector(model[word3] + model[word2] - model[word1])
 
19
  Word2 = gr.Textbox()
20
  Word3 = gr.Textbox()
21
  label = gr.Label(show_label=True, label="Word4")
22
+ bp = gr.BarPlot(x="x", y="y")
23
 
24
  def inference(word1, word2, word3):
25
  output = model.similar_by_vector(model[word3] + model[word2] - model[word1])