Spaces:
Sleeping
Sleeping
fix error
Browse files- generate.py +3 -4
generate.py
CHANGED
@@ -63,12 +63,11 @@ opts.streamlit = True
|
|
63 |
# [(95, 'ฮ')]
|
64 |
|
65 |
import string
|
66 |
-
from pythainlp import thai_digits, thai_consonants, thai_vowels
|
67 |
|
68 |
-
thai_digits = [*
|
69 |
-
thai_characters = [*
|
70 |
eng_characters = [*string.ascii_letters]
|
71 |
-
thai_floating = [*
|
72 |
|
73 |
directories = [
|
74 |
"inference",
|
|
|
63 |
# [(95, 'ฮ')]
|
64 |
|
65 |
import string
|
|
|
66 |
|
67 |
+
thai_digits = [*'๐๑๒๓๔๕๖๗๘๙']
|
68 |
+
thai_characters = [*'กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรลวศษสหฬอฮ']
|
69 |
eng_characters = [*string.ascii_letters]
|
70 |
+
thai_floating = [*'ฤฦะัาำิีึืุูเแโใไๅํ็']
|
71 |
|
72 |
directories = [
|
73 |
"inference",
|