import os

def is_running_in_huggingface_space():
    return "SPACE_ID" in os.environ

if is_running_in_huggingface_space():
    print("The script is running in a Hugging Face Space.")
else:
    print("The script is not running in a Hugging Face Space.")