daoqm123 commited on
Commit
d72de02
·
1 Parent(s): 6dc4acd

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -4
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
- os.path.join(base_dir, "xlam_function_calling_60k_processed_with_ground_truth.json"),
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