fix: add protobuf dependency to resolve transformers import error

- Add protobuf==3.20.3 to requirements.txt
- Fix common 'Descriptors cannot be created directly' error
- Ensure compatibility with transformers library
- Prevent runtime errors caused by protobuf version conflicts
This commit is contained in:
limbicnation
2025-05-03 19:48:09 +02:00
parent 3d78b44438
commit 6ff7981678
+1 -1
View File
@@ -1,7 +1,7 @@
# requirements.txt for ComfyUI-DepthEstimation Node
# Note: These are minimum requirements. ComfyUI's environment may provide newer versions.
# Fix for protobuf errors
# Fix for protobuf errors with transformers
protobuf==3.20.3
# Core dependencies