Spaces:
Runtime error
Runtime error
Update utils.py
Browse files
utils.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
def is_google_colab():
|
| 2 |
-
try:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
except:
|
| 6 |
-
|
|
|
|
|
|
| 1 |
def is_google_colab():
|
| 2 |
+
# try:
|
| 3 |
+
# import google.colab
|
| 4 |
+
# return True
|
| 5 |
+
# except:
|
| 6 |
+
# return False
|
| 7 |
+
return True
|