### Checked other resources

- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
- [X] I am sure that this is a bug in LangChain rather than my code.
- [X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

### Example Code

### my code
from langchain.document_loaders.image import UnstructuredImageLoader
from PIL import Image
import io

image = Image.open("/mnt/data/spdi-code/paddlechat/pic/caigou.jpg") #local image path

loader = UnstructuredImageLoader(image )

data = loader.load()

print("data", data)

### error
![企业微信截图_20240527155733](https://github.com/langchain-ai/langchain/assets/142364107/068f983c-a9a9-49e3-9b52-5b5d2a3cc57c)

### Error Message and Stack Trace (if applicable)

_No response_

### Description

How to fix the bug

### System Info

pip install langchain 
pip install unstructured[all-docs]
pip install -U langchain-community
There is a bug for load image under the package "langchain.document_loaders import UnstructuredImageLoader"
This is a GitHub Issue
repo:langchain
owner:hwchase17
Title : There is a bug for load image under the package "langchain.document_loaders import UnstructuredImageLoader"
Issue date:

--- start body ---
### Checked other resources

- [X] I added a very descriptive title to this issue.
- [X] I searched the LangChain documentation with the integrated search.
- [X] I used the GitHub search to find a similar question and didn't find it.
- [X] I am sure that this is a bug in LangChain rather than my code.
- [X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

### Example Code

### my code
from langchain.document_loaders.image import UnstructuredImageLoader
from PIL import Image
import io

image = Image.open("/mnt/data/spdi-code/paddlechat/pic/caigou.jpg") #local image path

loader = UnstructuredImageLoader(image )

data = loader.load()

print("data", data)

### error
![企业微信截图_20240527155733](https://github.com/langchain-ai/langchain/assets/142364107/068f983c-a9a9-49e3-9b52-5b5d2a3cc57c)

### Error Message and Stack Trace (if applicable)

_No response_

### Description

How to fix the bug

### System Info

pip install langchain 
pip install unstructured[all-docs]
pip install -U langchain-community
--- end body ---
