TheoLvs commited on
Commit
78ba4c7
·
verified ·
1 Parent(s): aeb6036

Update tasks/audio.py

Browse files
Files changed (1) hide show
  1. tasks/audio.py +1 -2
tasks/audio.py CHANGED
@@ -43,8 +43,7 @@ async def evaluate_audio(request: AudioEvaluationRequest):
43
  dataset = load_dataset(request.dataset_name,token=os.getenv("HF_TOKEN"))
44
 
45
  # Split dataset
46
- train_test = dataset["train"].train_test_split(test_size=request.test_size, seed=request.test_seed)
47
- test_dataset = train_test["test"]
48
 
49
  # Start tracking emissions
50
  tracker.start()
 
43
  dataset = load_dataset(request.dataset_name,token=os.getenv("HF_TOKEN"))
44
 
45
  # Split dataset
46
+ test_dataset = dataset["test"]
 
47
 
48
  # Start tracking emissions
49
  tracker.start()