Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
0x90e
/
ESRGAN-MANGA
like
12
Runtime error
App
Files
Files
Community
2
Fetching metadata from the HF Docker repository...
0x90e
commited on
Jan 2, 2023
Commit
8c2113d
·
1 Parent(s):
726f3b0
Update util.py
Browse files
Files changed (1)
hide
show
util.py
+1
-1
util.py
CHANGED
Viewed
@@ -1,6 +1,6 @@
1
import os
2
3
def is_google_colab():
4
-
if
'COLAB_GPU' in
os.
environ
:
5
return True
6
return False
1
import os
2
3
def is_google_colab():
4
+
if os.
getenv("COLAB_RELEASE_TAG")
:
5
return True
6
return False