Spaces:
Runtime error
Runtime error
Update utils.py
Browse files
utils.py
CHANGED
@@ -1,14 +1,11 @@
|
|
1 |
import re
|
2 |
-
import re
|
3 |
-
from sentence_transformers import SentenceTransformer, util
|
4 |
-
import re
|
5 |
from unidecode import unidecode
|
6 |
-
from transformers import AutoTokenizer
|
7 |
-
import yaml
|
8 |
-
import fitz
|
9 |
-
import requests
|
10 |
-
from bs4 import BeautifulSoup
|
11 |
-
from collections import defaultdict
|
12 |
|
13 |
def remove_accents(input_str):
|
14 |
text_no_accents = unidecode(input_str)
|
|
|
1 |
import re
|
|
|
|
|
|
|
2 |
from unidecode import unidecode
|
3 |
+
# from transformers import AutoTokenizer
|
4 |
+
# import yaml
|
5 |
+
# import fitz
|
6 |
+
# import requests
|
7 |
+
# from bs4 import BeautifulSoup
|
8 |
+
# from collections import defaultdict
|
9 |
|
10 |
def remove_accents(input_str):
|
11 |
text_no_accents = unidecode(input_str)
|