bump gradio to 3.23

fix broken image dragging
This commit is contained in:
AUTOMATIC
2023-03-25 07:29:51 +03:00
parent d3dcb05904
commit 9e1afa9eb4
5 changed files with 11 additions and 5 deletions
+3 -1
View File
@@ -640,6 +640,8 @@ Steps: {json_info["steps"]}, Sampler: {sampler}, CFG scale: {json_info["scale"]}
def image_data(data):
import gradio as gr
try:
image = Image.open(io.BytesIO(data))
textinfo, _ = read_info_from_image(image)
@@ -655,7 +657,7 @@ def image_data(data):
except Exception:
pass
return '', None
return gr.update(), None
def flatten(img, bgcolor):