mirror of
https://github.com/karma-riuk/crab-webapp.git
synced 2025-07-05 14:18:12 +02:00
removed env vars, because i don't wanna think
about that rn
This commit is contained in:
@ -5,9 +5,7 @@ import { getProjectPath } from "../utils/paths.js";
|
|||||||
const router = Router();
|
const router = Router();
|
||||||
|
|
||||||
// Environment variables for paths (all relative to project root)
|
// Environment variables for paths (all relative to project root)
|
||||||
const DATA_DIR = process.env.DATA_DIR
|
const DATA_DIR = getProjectPath("data");
|
||||||
? getProjectPath(process.env.DATA_DIR)
|
|
||||||
: getProjectPath("data");
|
|
||||||
|
|
||||||
const DATASETS = ["comment_generation", "code_refinement"];
|
const DATASETS = ["comment_generation", "code_refinement"];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user