Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
debug image_examples loading error
Browse files- backend/examples.py +1 -0
backend/examples.py
CHANGED
|
@@ -124,6 +124,7 @@ def build_infos(abs_path, datatype: str, dataset_name: str, db_key: str):
|
|
| 124 |
# indices = [0, 1, 3, 4, 5]
|
| 125 |
|
| 126 |
eval_results_path = str(abs_path) + f"{dataset_name}/examples_eval_results.json"
|
|
|
|
| 127 |
|
| 128 |
# Determine if eval_results_path is a URL or local file
|
| 129 |
if eval_results_path.startswith("http://") or eval_results_path.startswith(
|
|
|
|
| 124 |
# indices = [0, 1, 3, 4, 5]
|
| 125 |
|
| 126 |
eval_results_path = str(abs_path) + f"{dataset_name}/examples_eval_results.json"
|
| 127 |
+
print(f"Eval results source: {eval_results_path}")
|
| 128 |
|
| 129 |
# Determine if eval_results_path is a URL or local file
|
| 130 |
if eval_results_path.startswith("http://") or eval_results_path.startswith(
|