fix(api-nodes): reimport of base64 in Gemini node (#10181)

This commit is contained in:
Alexander Piskun
2025-10-03 21:40:27 +03:00
committed by GitHub
parent ed3ca78e08
commit 8a293372ec
2 changed files with 0 additions and 2 deletions

View File

@@ -490,7 +490,6 @@ class GeminiInputFiles(ComfyNodeABC):
# Use base64 string directly, not the data URI
with open(file_path, "rb") as f:
file_content = f.read()
import base64
base64_str = base64.b64encode(file_content).decode("utf-8")
return GeminiPart(