diff --git a/extensions/send_pictures/script.py b/extensions/send_pictures/script.py index 034a4dd1..b0c35632 100644 --- a/extensions/send_pictures/script.py +++ b/extensions/send_pictures/script.py @@ -2,11 +2,12 @@ import base64 from io import BytesIO import gradio as gr -import modules.chat as chat -import modules.shared as shared import torch from transformers import BlipForConditionalGeneration, BlipProcessor +import modules.chat as chat +import modules.shared as shared + # If 'state' is True, will hijack the next chat generation with # custom input text given by 'value' in the format [text, visible_text] input_hijack = {