csukuangfj commited on
Commit
b1d5bcd
·
1 Parent(s): a6f60a8

small fixes

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -191,7 +191,7 @@ def process(
191
  )
192
 
193
  text = decode(recognizer, filename)
194
- if add_punct == "Yes" and language == "Chinese":
195
  punct = get_punct_model()
196
  text = punct.add_punctuation(text)
197
 
 
191
  )
192
 
193
  text = decode(recognizer, filename)
194
+ if add_punct == "Yes" and language in ("Chinese", "四川话"):
195
  punct = get_punct_model()
196
  text = punct.add_punctuation(text)
197