def load_prompts_from_file()

in videocategorization/tgi_inference_client.py [0:0]


def load_prompts_from_file(file_path):
    with open(file_path, "r", encoding="utf-8") as file:
        tasks = json.load(file)
    return tasks