Skip to content

Commit

Permalink
fixbug
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowcz007 committed Sep 10, 2024
1 parent 61083e9 commit 399e748
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1399,10 +1399,9 @@ def mix_status(request):


try:
from .nodes.scenedetect import scenedetectNode,SceneInfoNode
from .nodes.scenedetectNode import ScenedetectNode_,SceneInfoNode
logging.info('Scenedetect.available')

NODE_CLASS_MAPPINGS['ScenedetectNode_']=scenedetectNode
NODE_CLASS_MAPPINGS['ScenedetectNode_']=ScenedetectNode_
NODE_CLASS_MAPPINGS['SceneInfoNode']=SceneInfoNode
NODE_DISPLAY_NAME_MAPPINGS["ScenedetectNode_"]= "Video Scene Detect"
NODE_DISPLAY_NAME_MAPPINGS["SceneInfoNode"]= "Scene Info"
Expand Down
2 changes: 1 addition & 1 deletion nodes/scenedetect.py → nodes/scenedetectNode.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def run(self,scenes,index):


# 分割视频
class scenedetectNode:
class ScenedetectNode_:
@classmethod
def INPUT_TYPES(cls):
video_extensions = ['webm', 'mp4', 'mkv', 'gif']
Expand Down

0 comments on commit 399e748

Please sign in to comment.