taishi-i commited on
Commit
53f2005
Β·
1 Parent(s): 743d68a

update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -10,7 +10,7 @@ def tokenize(text):
10
  num_input_lines = 3
11
  input_placeholder = "Please input text here."
12
  title = "Japanese tokenization demo"
13
- default_text = "γ“γ“γ«γƒ†γ‚­γ‚Ήγƒˆγ‚’ε…₯εŠ›γ—γ€Submit γ‚’ζŠΌγ—γ¦γγ γ•γ„γ€‚"
14
  description = """
15
  This is a demo page for nagisa's tokenization.
16
  Nagisa is a Python module used for tokenizing and performing Part-of-Speech (POS) tagging on Japanese text.
@@ -36,6 +36,7 @@ iface = gr.Interface(
36
  gr.outputs.Textbox(label="Words"),
37
  gr.outputs.Textbox(label="POS tags"),
38
  ],
 
39
  )
40
 
41
 
 
10
  num_input_lines = 3
11
  input_placeholder = "Please input text here."
12
  title = "Japanese tokenization demo"
13
+ default_text = "γ“γ“γ«γƒ†γ‚­γ‚Ήγƒˆγ‚’ε…₯εŠ›γ™γ‚‹γ¨γ€γƒͺγ‚’γƒ«γ‚Ώγ‚€γƒ γ§ε‡¦η†η΅ζžœγ‚’η’Ίθͺγ™γ‚‹γ“γ¨γŒγ§γγΎγ™γ€‚"
14
  description = """
15
  This is a demo page for nagisa's tokenization.
16
  Nagisa is a Python module used for tokenizing and performing Part-of-Speech (POS) tagging on Japanese text.
 
36
  gr.outputs.Textbox(label="Words"),
37
  gr.outputs.Textbox(label="POS tags"),
38
  ],
39
+ live=True,
40
  )
41
 
42