import os import json from datetime import datetime, timezone from dataclasses import dataclass import gradio as gr from huggingface_hub import HfApi from huggingface_hub.hf_api import ModelInfo from enum import Enum OWNER = "EnergyStarAI" COMPUTE_SPACE = f"{OWNER}/launch-computation-example" REQUESTS_DATASET_PATH = f"{OWNER}/requests_debug" RESULTS_DATASET_PATH = f"{OWNER}/results_debug" TOKEN = os.environ.get("DEBUG") API = HfApi(token=TOKEN) # git clone https://huggingface.co/datasets/EnergyStarAI/requests_debug/