Weyaxi's picture
Duplicate from Weyaxi/commit-trash-huggingface-spaces-codes
42472b3
raw
history blame contribute delete
109 Bytes
import os
def is_google_colab():
if os.getenv("COLAB_RELEASE_TAG"):
return True
return False