From 6ff79816786f73336e5b2377f7746c4a95b7d4e1 Mon Sep 17 00:00:00 2001 From: limbicnation Date: Sat, 3 May 2025 19:48:09 +0200 Subject: [PATCH] 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 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 576a9bc..084367c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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