Spaces:
Runtime error
Runtime error
Shroominic
commited on
Commit
·
a3149bd
1
Parent(s):
c1a61c3
ignore typing error
Browse files
codeinterpreterapi/schema/file.py
CHANGED
|
@@ -59,7 +59,7 @@ class File(BaseModel):
|
|
| 59 |
# Display the image
|
| 60 |
try:
|
| 61 |
# Try to get the IPython shell if available.
|
| 62 |
-
shell = get_ipython().__class__.__name__
|
| 63 |
|
| 64 |
# If the shell is ZMQInteractiveShell, it means we're in a Jupyter notebook or similar.
|
| 65 |
if shell == 'ZMQInteractiveShell':
|
|
|
|
| 59 |
# Display the image
|
| 60 |
try:
|
| 61 |
# Try to get the IPython shell if available.
|
| 62 |
+
shell = get_ipython().__class__.__name__ # type: ignore
|
| 63 |
|
| 64 |
# If the shell is ZMQInteractiveShell, it means we're in a Jupyter notebook or similar.
|
| 65 |
if shell == 'ZMQInteractiveShell':
|