Workspace url error

Hello! Can anyone help me resolve this error? I am sure that the workspace url I put inside the code below is correct.

import argparse
import os

from roboflow import Roboflow
from evaluations.dataloaders import (RoboflowDataLoader,
                                     RoboflowPredictionsDataLoader)
from evaluations.roboflow import RoboflowEvaluator


project = rf.workspace().project("final-grape-leaf-disease-detection-and-classification")
model = project.version(15).model

EVAL_DATA_PATH = "C:/Users/green/OneDrive/Desktop/Code/test"
ROBOFLOW_WORKSPACE_URL = "https://app.roboflow.com/workspaces/thesis-t6sjh"
ROBOFLOW_PROJECT_URL = "final-grape-leaf-disease-detection-and-classification"
ROBOFLOW_MODEL_VERSION = "15"


class_names, data, model = RoboflowDataLoader(
    workspace_url=ROBOFLOW_WORKSPACE_URL,
    project_url=ROBOFLOW_PROJECT_URL,
    project_version=ROBOFLOW_MODEL_VERSION,
    image_files=EVAL_DATA_PATH,
).download_dataset()

predictions = RoboflowPredictionsDataLoader(
    model=model,
    model_type="instance-segmentation",
    image_files=EVAL_DATA_PATH,
    class_names=class_names,
).process_files()

evaluator = RoboflowEvaluator(
    ground_truth=data, predictions=predictions, class_names=class_names, mode="batch"
)

cf = evaluator.eval_model_predictions()

print(cf)

data = evaluator.calculate_statistics()

print("Precision:", data.precision)
print("Recall:", data.recall)
print("f1 Score:", data.f1)

This is the error :

Exception has occurred: KeyError
‘workspace’
File “C:\Users\green\OneDrive\Desktop\Code\testing.py”, line 24, in
).download_dataset()
^^^^^^^^^^^^^^^^^^
KeyError: ‘workspace’

did you tried this?