Update tasks/audio.py
Browse files- 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 |
-
|
| 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()
|