Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
2dba7d57
Commit
2dba7d57
authored
Oct 15, 2020
by
Lysandre
Browse files
Notebook catch all errors
parent
9ade8e74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/file_utils.py
src/transformers/file_utils.py
+1
-1
No files found.
src/transformers/file_utils.py
View file @
2dba7d57
...
@@ -153,7 +153,7 @@ try:
...
@@ -153,7 +153,7 @@ try:
import
IPython
# noqa: F401
import
IPython
# noqa: F401
_in_notebook
=
True
_in_notebook
=
True
except
(
ImportError
,
KeyError
):
except
:
# noqa: E722
_in_notebook
=
False
_in_notebook
=
False
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment