From 0ca568fb005dcf193f0cca209b6f21f423741805 Mon Sep 17 00:00:00 2001 From: Silke pilon Date: Sat, 2 Dec 2023 22:11:04 +0100 Subject: [PATCH] Update gr.Markdown in main.py --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 6d9e41a..2d87e46 100644 --- a/main.py +++ b/main.py @@ -534,7 +534,7 @@ def get_active_scripts(): string += """---\n""" return string - gr.Markdown(value=get_active_scripts, label="Active Scripts (Updated every 5 seconds)", every=5, autoscroll=True, autofocus=False) + gr.Markdown(value=get_active_scripts, label="Active Scripts (Updated every 5 seconds)", every=5) new_script = gr.Textbox(placeholder="Enter your chat commands here.",every=2,label="Automated Script",lines=20, max_lines=20, min_width=100, autoscroll=True, autofocus=False) with gr.Accordion("Advanced Script Options", open=False): @@ -552,6 +552,7 @@ def get_active_scripts(): def delete(): auto_scripts.clear() + gr.Info("Successfully removed all scripts!") def add_script(new_script, every_time, script_name, script_start_on, script_delay):