launch-computation-example / check_requests.py
sasha's picture
sasha HF staff
Update check_requests.py
2c79a58 verified
raw
history blame
527 Bytes
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/