naohiro701 commited on
Commit
605051f
·
verified ·
1 Parent(s): b52551a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -33,7 +33,7 @@ def clean_word(word):
33
 
34
  def main():
35
  st.title("Word Vector Arithmetic Playground")
36
- st.write("Experiment with word vector arithmetic! Example: `Tokyo - Japan + UK`")
37
 
38
  # Load the model
39
  model = load_fasttext_model()
@@ -42,7 +42,7 @@ def main():
42
  return
43
 
44
  st.header("Vector Arithmetic")
45
- operation = st.text_input("Enter your word vector operation:", "Tokyo - Japan + UK")
46
  operation = operation.split()
47
 
48
  if st.button("Compute"):
 
33
 
34
  def main():
35
  st.title("Word Vector Arithmetic Playground")
36
+ st.write("Experiment with word vector arithmetic! Example: `Tokyo - Japan + U.K.`")
37
 
38
  # Load the model
39
  model = load_fasttext_model()
 
42
  return
43
 
44
  st.header("Vector Arithmetic")
45
+ operation = st.text_input("Enter your word vector operation:", "Tokyo - Japan + U.K.")
46
  operation = operation.split()
47
 
48
  if st.button("Compute"):