mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-12-23 21:18:00 +01:00
Remove unused imports
o
This commit is contained in:
parent
ddb62470e9
commit
b552d2b58a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user