Spaces:
Running
Running
update app.py
Browse files
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 = "
|
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 |
|