mirror of https://github.com/tqdm/tqdm.git
Added AtributeError to address issue #1183
This commit is contained in:
parent
d2a6ec2ab8
commit
e56cc12fbf
|
@ -7,7 +7,7 @@ from .auto import tqdm as tqdm_auto
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import keras
|
import keras
|
||||||
except ImportError as e:
|
except (ImportError, AttributeError) as e:
|
||||||
try:
|
try:
|
||||||
from tensorflow import keras
|
from tensorflow import keras
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
|
Loading…
Reference in New Issue