소스 검색

Add a comment

oobabooga 2 년 전
부모
커밋
fd19e4812f
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      extensions/send_pictures/script.py

+ 3 - 1
extensions/send_pictures/script.py

@@ -9,9 +9,11 @@ from modules.bot_picture import caption_image
 params = {
 }
 
+# If 'state' is True, will hijack the next chatbot wrapper call
+# with a custom input text
 input_hijack = {
     'state': False,
-    'value': []
+    'value': ["", ""]
 }
 
 def generate_chat_picture(picture, name1, name2):