Spaces:
Sleeping
Sleeping
File size: 210 Bytes
f658592 |
1 2 3 4 5 6 7 8 |
from pythainlp.tokenize import word_tokenize
import gradio as gr
def cut_word(name):
return ' '.join(word_tokenize(text))
iface = gr.Interface(fn=cut_word, inputs="textbox", outputs="text")
iface.launch() |