tomofi commited on
Commit
aea61de
1 Parent(s): 1ae5746

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -16,9 +16,6 @@ Input the text you'd like to analyze. See the [NEologd][] docs for more details.
16
  [NEologd]: https://github.com/neologd
17
  """
18
 
19
- if st.button('Update NEologd', help='It may take some time'):
20
- os.system('cd mecab-ipadic-neologd && ./bin/install-mecab-ipadic-neologd -n -y -u -p $PWD')
21
- os.system('cd mecab-unidic-neologd && ./bin/install-mecab-unidic-neologd -n -y -u -p $PWD')
22
 
23
  text = st.text_area("input", "麩菓子は、麩を主材料とした日本の菓子。")
24
 
@@ -77,4 +74,8 @@ while node:
77
  data.append(make_row(node))
78
  node = node.next
79
 
80
- st.table(data)
 
 
 
 
 
16
  [NEologd]: https://github.com/neologd
17
  """
18
 
 
 
 
19
 
20
  text = st.text_area("input", "麩菓子は、麩を主材料とした日本の菓子。")
21
 
 
74
  data.append(make_row(node))
75
  node = node.next
76
 
77
+ st.table(data)
78
+
79
+ if st.button('Update NEologd', help='It may take some time'):
80
+ os.system('cd mecab-ipadic-neologd && ./bin/install-mecab-ipadic-neologd -n -y -u -p $PWD')
81
+ os.system('cd mecab-unidic-neologd && ./bin/install-mecab-unidic-neologd -n -y -u -p $PWD')