Add files via upload

This commit is contained in:
AIExplorer
2025-05-08 01:20:42 +05:30
committed by GitHub
parent 1fdff01573
commit 1d3c2891b7
+3 -2
View File
@@ -1,6 +1,7 @@
import os
import openai
import json
import hashlib
class ChatGptHelper:
@classmethod
@@ -89,7 +90,7 @@ class ChatGptHelper:
@classmethod
def IS_CHANGED(cls, text, file, enable_replacement, image_style, gender_age_replacement, lora_trigger, negative_prompt_text):
def IS_CHANGED(cls,enable_chatgpt,chatgpt_api_key, input_prompt_text, chatgpt_instruction_text):
"""
Tells ComfyUI whether this node should be re-executed.
Returns None to indicate the node should be considered cached.