Spaces:
Running
Running
Update app.py
Browse files
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)
|