Update ui.py
Browse files
ui.py
CHANGED
|
@@ -978,16 +978,16 @@ def create_ui():
|
|
| 978 |
with gr.Row():
|
| 979 |
buttons = parameters_copypaste.create_buttons(["txt2img", "img2img", "inpaint", "extras"])
|
| 980 |
|
| 981 |
-
|
| 982 |
-
|
| 983 |
-
|
| 984 |
-
|
| 985 |
-
|
| 986 |
-
image.change(
|
| 987 |
-
|
| 988 |
-
|
| 989 |
-
|
| 990 |
-
)
|
| 991 |
|
| 992 |
def update_interp_description(value):
|
| 993 |
interp_description_css = "<p style='margin-bottom: 2.5em'>{}</p>"
|
|
|
|
| 978 |
with gr.Row():
|
| 979 |
buttons = parameters_copypaste.create_buttons(["txt2img", "img2img", "inpaint", "extras"])
|
| 980 |
|
| 981 |
+
# for tabname, button in buttons.items():
|
| 982 |
+
# parameters_copypaste.register_paste_params_button(parameters_copypaste.ParamBinding(
|
| 983 |
+
# paste_button=button, tabname=tabname, source_text_component=generation_info, source_image_component=image,
|
| 984 |
+
# ))
|
| 985 |
+
|
| 986 |
+
# image.change(
|
| 987 |
+
# fn=wrap_gradio_call(modules.extras.run_pnginfo),
|
| 988 |
+
# inputs=[image],
|
| 989 |
+
# outputs=[html, generation_info, html2],
|
| 990 |
+
# )
|
| 991 |
|
| 992 |
def update_interp_description(value):
|
| 993 |
interp_description_css = "<p style='margin-bottom: 2.5em'>{}</p>"
|