microhum commited on
Commit
60fc8e6
·
1 Parent(s): b6fb2aa
Files changed (1) hide show
  1. 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 = [*thai_digits]
69
- thai_characters = [*thai_consonants]
70
  eng_characters = [*string.ascii_letters]
71
- thai_floating = [*thai_vowels]
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",