microhum commited on
Commit
b6fb2aa
·
1 Parent(s): 5d129eb

fix error

Browse files
Files changed (2) hide show
  1. generate.py +4 -4
  2. install.sh +0 -5
generate.py CHANGED
@@ -63,12 +63,12 @@ opts.streamlit = True
63
  # [(95, 'ฮ')]
64
 
65
  import string
66
- import pythainlp
67
 
68
- thai_digits = [*pythainlp.thai_digits]
69
- thai_characters = [*pythainlp.thai_consonants]
70
  eng_characters = [*string.ascii_letters]
71
- thai_floating = [*pythainlp.thai_vowels]
72
 
73
  directories = [
74
  "inference",
 
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",
install.sh DELETED
@@ -1,5 +0,0 @@
1
- sudo apt update
2
- sudo apt install software-properties-common
3
- sudo add-apt-repository ppa:deadsnakes/ppa
4
- sudo apt update
5
- sudo apt install python3.10