From fb657423eed89f0af30aadcafd35247b01dafa6c Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Thu, 11 Apr 2024 09:32:42 -0700 Subject: [PATCH] fix - stop using imghdr --- litellm/llms/prompt_templates/factory.py | 1 - 1 file changed, 1 deletion(-) diff --git a/litellm/llms/prompt_templates/factory.py b/litellm/llms/prompt_templates/factory.py index d7f2272c4..eba8e27ea 100644 --- a/litellm/llms/prompt_templates/factory.py +++ b/litellm/llms/prompt_templates/factory.py @@ -4,7 +4,6 @@ import json, re, xml.etree.ElementTree as ET from jinja2 import Template, exceptions, meta, BaseLoader from jinja2.sandbox import ImmutableSandboxedEnvironment from typing import Optional, Any -import imghdr, base64 from typing import List import litellm