Skip to content

Commit 6b07c88

Browse files
authored
fix #589 (backward compat) (#591)
1 parent 32eea04 commit 6b07c88

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

datasets/text/text.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import logging
12
from dataclasses import dataclass
23
from typing import List
34

@@ -6,7 +7,7 @@
67
import nlp
78

89

9-
logger = nlp.utils.logging.get_logger(__name__)
10+
logger = logging.getLogger(__name__)
1011

1112
FEATURES = nlp.Features({"text": nlp.Value("string"),})
1213

0 commit comments

Comments
 (0)