root commited on
Commit
1eda12a
1 Parent(s): bf3c3df

add moveImageFromGallery

Browse files
Files changed (1) hide show
  1. ui_functions.py +1 -1
ui_functions.py CHANGED
@@ -84,7 +84,7 @@ def copy_img_to_input(img):
84
  processed_image = Image.open(BytesIO(base64.b64decode(image_data)))
85
  tab_update = gr.update(selected='img2img_tab')
86
  img_update = gr.update(value=processed_image)
87
- return processed_image, processed_image , tab_update
88
  except IndexError:
89
  return [None, None]
90
 
 
84
  processed_image = Image.open(BytesIO(base64.b64decode(image_data)))
85
  tab_update = gr.update(selected='img2img_tab')
86
  img_update = gr.update(value=processed_image)
87
+ return tab_update, processed_image, processed_image
88
  except IndexError:
89
  return [None, None]
90