Merge pull request #2956 from BerriAI/litellm_fix_imghdr

fix - stop using imghdr
This commit is contained in:
Ishaan Jaff 2024-04-11 09:55:47 -07:00 • committed by GitHub
commit 64904e2ab1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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