Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -199,11 +199,9 @@ async def classify(request: ClassificationRequest):
|
|
| 199 |
def load_dataset():
|
| 200 |
"""Load dataset and group examples by label"""
|
| 201 |
global dataset_by_label, dataset_path
|
| 202 |
-
|
| 203 |
-
# Try to find dataset file - check multiple possible locations
|
| 204 |
-
base_dir = os.path.dirname(os.path.abspath(__file__))
|
| 205 |
possible_paths = [
|
| 206 |
-
|
| 207 |
os.getenv("DATASET_PATH", "")
|
| 208 |
]
|
| 209 |
|
|
|
|
| 199 |
def load_dataset():
|
| 200 |
"""Load dataset and group examples by label"""
|
| 201 |
global dataset_by_label, dataset_path
|
| 202 |
+
|
|
|
|
|
|
|
| 203 |
possible_paths = [
|
| 204 |
+
"xlam_function_calling_60k_processed_with_ground_truth.json",
|
| 205 |
os.getenv("DATASET_PATH", "")
|
| 206 |
]
|
| 207 |
|