File size: 527 Bytes
2c79a58
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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/