Spaces:
Runtime error
Runtime error
Clémentine commited on
Commit ·
29efd58
1
Parent(s): 1a54431
update for caching
Browse filesFiles changed (2)
- app.py-3
- src/envs.py+4-2
123123import jsonimport os
import gradio as grimport pandas as pdfrom apscheduler.schedulers.background import BackgroundScheduler13 unmodified lines14151617181718192021222313 unmodified lines
IS_PUBLIC = bool(os.environ.get("IS_PUBLIC", True))
EVAL_REQUESTS_PATH = "eval-queue"EVAL_RESULTS_PATH = "eval-results"CACHE_PATH="/data"
EVAL_REQUESTS_PATH = os.path.join(CACHE_PATH, "eval-queue")EVAL_RESULTS_PATH = os.path.join(CACHE_PATH, "eval-results")
EVAL_REQUESTS_PATH_PRIVATE = "eval-queue-private"EVAL_RESULTS_PATH_PRIVATE = "eval-results-private"app.py-3
src/envs.py+4-2