Spaces:
Runtime error
Runtime error
root
commited on
Commit
•
ae9f831
1
Parent(s):
60ad9d6
Adjust the layout
Browse files- app.py +1 -1
- ui_functions.py +1 -1
app.py
CHANGED
@@ -484,7 +484,7 @@ if __name__ == "__main__":
|
|
484 |
output_txt2img_copy_to_input_btn.click(
|
485 |
uifn.copy_img_to_input,
|
486 |
[gallery, img_choices],
|
487 |
-
[tabs, img2img_image_editor, img2img_image_mask, move_prompt_zh, move_prompt_en, prompt]
|
488 |
)
|
489 |
|
490 |
# go_to_img2img_btn.click(
|
|
|
484 |
output_txt2img_copy_to_input_btn.click(
|
485 |
uifn.copy_img_to_input,
|
486 |
[gallery, img_choices],
|
487 |
+
[tabs, img2img_image_editor, img2img_image_mask, move_prompt_zh, move_prompt_en, prompt]
|
488 |
)
|
489 |
|
490 |
# go_to_img2img_btn.click(
|
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, prompt_update
|
107 |
except IndexError:
|
108 |
return [None, None]
|
109 |
|