Spaces:
Sleeping
Sleeping
Fix path
Browse files- app_utils.py +1 -1
app_utils.py
CHANGED
@@ -49,7 +49,7 @@ def evaluate_prompt(prompt: str, num_samples: int = None, split: str = None, bat
|
|
49 |
assert split in ["train", "test"]
|
50 |
|
51 |
# Define the path to the test.jsonl file
|
52 |
-
test_file_path = Path(__file__).parent /
|
53 |
|
54 |
# Load the data from the jsonl file
|
55 |
test_data = []
|
|
|
49 |
assert split in ["train", "test"]
|
50 |
|
51 |
# Define the path to the test.jsonl file
|
52 |
+
test_file_path = Path(__file__).parent / f"{split}.jsonl"
|
53 |
|
54 |
# Load the data from the jsonl file
|
55 |
test_data = []
|