mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
Remove unused imports
o
This commit is contained in:
parent
ddb62470e9
commit
b552d2b58a
@ -1,14 +1,11 @@
|
|||||||
import json
|
|
||||||
import base64
|
import base64
|
||||||
import requests
|
|
||||||
import io
|
import io
|
||||||
|
|
||||||
from io import BytesIO
|
|
||||||
from PIL import Image, PngImagePlugin
|
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
import gradio as gr
|
import gradio as gr
|
||||||
|
import requests
|
||||||
import torch
|
import torch
|
||||||
|
from PIL import Image
|
||||||
|
|
||||||
import modules.chat as chat
|
import modules.chat as chat
|
||||||
import modules.shared as shared
|
import modules.shared as shared
|
||||||
@ -183,4 +180,4 @@ def ui():
|
|||||||
|
|
||||||
force_btn.click(force_pic)
|
force_btn.click(force_pic)
|
||||||
generate_now_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