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:
|
||||
import keras
|
||||
except ImportError as e:
|
||||
except (ImportError, AttributeError) as e:
|
||||
try:
|
||||
from tensorflow import keras
|
||||
except ImportError:
|
||||
|
|
Loading…
Reference in New Issue