Spaces:
Running
Running
root commited on
Commit ·
58bc3a9
1
Parent(s): 450482a
add img choice
Browse files94 unmodified lines959697989910094 unmodified lines"图片3(img4)":2,"图片4(img5)":3,}image_data = re.sub('^data:image/.+;base64,', '', img[idx])processed_image = Image.open(BytesIO(base64.b64decode(image_data)))tab_update = gr.update(selected='img2img_tab')94 unmodified lines959697989910010194 unmodified lines"图片3(img4)":2,"图片4(img5)":3,}idx = idx_map[idx]image_data = re.sub('^data:image/.+;base64,', '', img[idx])processed_image = Image.open(BytesIO(base64.b64decode(image_data)))tab_update = gr.update(selected='img2img_tab')
ui_functions.py+1