Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Hydrc68
/
nitrosocke-Arcane-Diffusion
like
0
Runtime error
App
Files
Files
Community
Hydrc68
commited on
May 4, 2023
Commit
7bff258
•
1 Parent(s):
1a5d081
Create utils.py
Browse files
Files changed (1)
hide
show
utils.py
+6
-0
utils.py
ADDED
Viewed
@@ -0,0 +1,6 @@
1
+
def is_google_colab():
2
+
try:
3
+
import google.colab
4
+
return True
5
+
except:
6
+
return False