From 05ce4e8a09eee04d480e07772ae689b62b40e752 Mon Sep 17 00:00:00 2001 From: Nochnoe <136372012+nochnoe@users.noreply.github.com> Date: Tue, 20 Feb 2024 15:52:51 +0700 Subject: [PATCH] fix: deprecation of style method on textbox --- scripts/e621_prompt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/e621_prompt.py b/scripts/e621_prompt.py index 1e817f0..565257f 100644 --- a/scripts/e621_prompt.py +++ b/scripts/e621_prompt.py @@ -220,7 +220,7 @@ class Script(scripts.Script): label="Categories" ) - result = gr.Textbox(value="", label="Result", lines=5, interactive=False).style(show_copy_button=True) + result = gr.Textbox(value="", label="Result", lines=5, interactive=False, show_copy_button=True) with gr.Row(): with gr.Column():