root commited on
Commit
34a3d82
1 Parent(s): ae9f831

Adjust the layout

Browse files
Files changed (1) hide show
  1. ui_functions.py +1 -1
ui_functions.py CHANGED
@@ -103,7 +103,7 @@ def copy_img_to_input(img, idx):
103
  move_prompt_zh_update = gr.update(visible=True)
104
  move_prompt_en_update = gr.update(visible=True)
105
  prompt_update = gr.update(visible=True)
106
- return tab_update,processed_image, processed_image, move_prompt_zh_update, prompt_update
107
  except IndexError:
108
  return [None, None]
109
 
 
103
  move_prompt_zh_update = gr.update(visible=True)
104
  move_prompt_en_update = gr.update(visible=True)
105
  prompt_update = gr.update(visible=True)
106
+ return tab_update,processed_image, processed_image, move_prompt_zh_update, move_prompt_en_update, prompt_update
107
  except IndexError:
108
  return [None, None]
109