Spaces:
Sleeping
Sleeping
Update helper.py
Browse files
helper.py
CHANGED
|
@@ -625,7 +625,7 @@ class writer_gui( ):
|
|
| 625 |
|
| 626 |
with gr.Tab("Agent"):
|
| 627 |
with gr.Row():
|
| 628 |
-
topic_bx = gr.Textbox(label="Essay Topic", value="
|
| 629 |
gen_btn = gr.Button("Generate Essay", scale=0,min_width=80, variant='primary')
|
| 630 |
cont_btn = gr.Button("Continue Essay", scale=0,min_width=80)
|
| 631 |
with gr.Row():
|
|
@@ -641,7 +641,7 @@ class writer_gui( ):
|
|
| 641 |
with gr.Row():
|
| 642 |
thread_pd = gr.Dropdown(choices=self.threads,interactive=True, label="select thread", min_width=120, scale=0)
|
| 643 |
step_pd = gr.Dropdown(choices=['N/A'],interactive=True, label="select step", min_width=160, scale=1)
|
| 644 |
-
live = gr.Textbox(label="Live Agent Output", lines=
|
| 645 |
|
| 646 |
# actions
|
| 647 |
sdisps =[topic_bx,lnode_bx,nnode_bx,threadid_bx,revision_bx,count_bx,step_pd,thread_pd]
|
|
|
|
| 625 |
|
| 626 |
with gr.Tab("Agent"):
|
| 627 |
with gr.Row():
|
| 628 |
+
topic_bx = gr.Textbox(label="Essay Topic", value="Donald Trump and the MAGA movement")
|
| 629 |
gen_btn = gr.Button("Generate Essay", scale=0,min_width=80, variant='primary')
|
| 630 |
cont_btn = gr.Button("Continue Essay", scale=0,min_width=80)
|
| 631 |
with gr.Row():
|
|
|
|
| 641 |
with gr.Row():
|
| 642 |
thread_pd = gr.Dropdown(choices=self.threads,interactive=True, label="select thread", min_width=120, scale=0)
|
| 643 |
step_pd = gr.Dropdown(choices=['N/A'],interactive=True, label="select step", min_width=160, scale=1)
|
| 644 |
+
live = gr.Textbox(label="Live Agent Output", lines=15, max_lines=15)
|
| 645 |
|
| 646 |
# actions
|
| 647 |
sdisps =[topic_bx,lnode_bx,nnode_bx,threadid_bx,revision_bx,count_bx,step_pd,thread_pd]
|