Remove unused imports

o
This commit is contained in:
oobabooga 2023-03-19 19:24:41 -03:00
parent ddb62470e9
commit b552d2b58a

View File

@ -1,14 +1,11 @@
import json
import base64
import requests
import io
from io import BytesIO
from PIL import Image, PngImagePlugin
from pathlib import Path
import gradio as gr
import requests
import torch
from PIL import Image
import modules.chat as chat
import modules.shared as shared
@ -183,4 +180,4 @@ def ui():
force_btn.click(force_pic)
generate_now_btn.click(force_pic)
generate_now_btn.click(eval('chat.cai_chatbot_wrapper'), shared.input_params, shared.gradio['display'], show_progress=shared.args.no_stream)
generate_now_btn.click(eval('chat.cai_chatbot_wrapper'), shared.input_params, shared.gradio['display'], show_progress=shared.args.no_stream)