From 024d30d1b4aca6634bba2e0a2615cf0cb3d7da83 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Thu, 2 Mar 2023 01:23:18 -0300 Subject: [PATCH] Reorder imports --- extensions/send_pictures/script.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 = {