Spaces:
Sleeping
Sleeping
felipekitamura
commited on
Update app.py
Browse files
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])
|