yuripeyamashita commited on
Commit
68b8031
·
verified ·
1 Parent(s): cee7f24

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import jieba
2
  import csv
3
  import tempfile
4
  import gradio as gr
5
- import re
6
 
7
  def strip_html(text: str) -> str:
8
  return re.sub(r"<[^>]+>", "", text)
 
2
  import csv
3
  import tempfile
4
  import gradio as gr
5
+ import re, chardet
6
 
7
  def strip_html(text: str) -> str:
8
  return re.sub(r"<[^>]+>", "", text)