File size: 499 Bytes
22df562 7939a4f 22df562 7939a4f 22df562 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | """
Environment configuration for MUSEval Leaderboard
"""
import os
# API configuration
class API:
@staticmethod
def restart_space(repo_id: str):
"""Restart space functionality"""
print(f"Restarting space: {repo_id}")
# Repository configuration
REPO_ID = "museval-leaderboard"
QUEUE_REPO = "museval-queue"
RESULTS_REPO = "museval-results"
# Paths
EVAL_REQUESTS_PATH = "eval_requests"
EVAL_RESULTS_PATH = "results"
# Token (placeholder)
TOKEN = os.getenv("HF_TOKEN", "")
|