Skip to content

Commit

Permalink
Update gr.Markdown in main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SilkePilon committed Dec 2, 2023
1 parent 1a3e9b7 commit 0ca568f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand All @@ -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):
Expand Down

0 comments on commit 0ca568f

Please sign in to comment.