Spaces:
Running
Running
Commit
·
b8c8472
1
Parent(s):
34e2aae
Update app.py
Browse files
app.py
CHANGED
@@ -4,5 +4,5 @@ import gradio as gr
|
|
4 |
def cut_word(text):
|
5 |
return ' '.join(word_tokenize(text))
|
6 |
|
7 |
-
iface = gr.Interface(fn=cut_word, inputs="textbox", outputs="text")
|
8 |
iface.launch()
|
|
|
4 |
def cut_word(text):
|
5 |
return ' '.join(word_tokenize(text))
|
6 |
|
7 |
+
iface = gr.Interface(fn=cut_word, inputs="textbox", outputs="text", lines=5)
|
8 |
iface.launch()
|