Any-to-Any
Transformers
Safetensors
multilingual
minicpmo
feature-extraction
minicpm-o
omni
vision
ocr
multi-image
video
custom_code
audio
speech
voice cloning
live Streaming
realtime speech conversation
asr
tts
Instructions to use openbmb/MiniCPM-o-2_6 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use openbmb/MiniCPM-o-2_6 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("openbmb/MiniCPM-o-2_6", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
ModuleNotFoundError: No module named 'moviepy.editor
#39
by tomasruiz - opened
Hello everyone,
The current Chat Inference example (https://huggingface.co/openbmb/MiniCPM-o-2_6#chat-inference) does not work with the latest moviepy. In the requirements section the moviepy version is also not fixed. The error raised is below.
Traceback (most recent call last):
File "/root/code/simple-inference-benchmark/minicpm_omni.py", line 4, in <module>
from moviepy.editor import VideoFileClip
ModuleNotFoundError: No module named 'moviepy.editor
People have suggested several fixes on the client side (https://github.com/harry0703/MoneyPrinterTurbo/issues/535). The fix for me was to import VideoFileClip directly, rather than from moviepy.editor
from moviepy import VideoFileClip
You could update the Chat Inference example π