kargaranamir commited on
Commit
2a21b24
1 Parent(s): 2d9f362
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -46,6 +46,11 @@ def get_script(text):
46
  else:
47
  all_scripts = 'Zyyy'
48
 
 
 
 
 
 
49
  return main_script, all_scripts
50
 
51
 
 
46
  else:
47
  all_scripts = 'Zyyy'
48
 
49
+ for ws in all_scripts:
50
+ if ws in ['Kana', 'Hrkt', 'Hani', 'Hira']:
51
+ all_scripts.append('Jpan')
52
+
53
+ all_scripts = list(set(all_scripts))
54
  return main_script, all_scripts
55
 
56