jostlebot commited on
Commit
29d02b6
·
1 Parent(s): 448c7f7

Move Generated Components to bottom after Respond/Refine section

Browse files
Files changed (1) hide show
  1. app.py +24 -21
app.py CHANGED
@@ -596,27 +596,6 @@ with gr.Blocks(css=custom_css, title="ARI Tool Builder") as app:
596
 
597
  engine_response = gr.Markdown(label="Response")
598
 
599
- with gr.Accordion("Generated Components", open=False):
600
- with gr.Row():
601
- with gr.Column():
602
- system_prompt_output = gr.Textbox(
603
- label="System Prompt",
604
- lines=10,
605
- show_copy_button=True
606
- )
607
- with gr.Column():
608
- user_copy_output = gr.Textbox(
609
- label="User-Facing Copy",
610
- lines=10,
611
- show_copy_button=True
612
- )
613
-
614
- clinical_notes_output = gr.Textbox(
615
- label="Clinical Notes",
616
- lines=5,
617
- show_copy_button=True
618
- )
619
-
620
  gr.Markdown("---")
621
  gr.Markdown("### Respond or Refine")
622
  gr.Markdown("**Answer clarifying questions above, request changes, or add details.**")
@@ -632,6 +611,30 @@ with gr.Blocks(css=custom_css, title="ARI Tool Builder") as app:
632
 
633
  followup_response = gr.Markdown(label="Response")
634
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
635
  # Tab 2: Preview Tool
636
  with gr.Tab("Preview Tool"):
637
 
 
596
 
597
  engine_response = gr.Markdown(label="Response")
598
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
599
  gr.Markdown("---")
600
  gr.Markdown("### Respond or Refine")
601
  gr.Markdown("**Answer clarifying questions above, request changes, or add details.**")
 
611
 
612
  followup_response = gr.Markdown(label="Response")
613
 
614
+ gr.Markdown("---")
615
+ gr.Markdown("### Generated Components")
616
+ gr.Markdown("*Once your tool is generated, the components will appear here for copying/export.*")
617
+
618
+ with gr.Row():
619
+ with gr.Column():
620
+ system_prompt_output = gr.Textbox(
621
+ label="System Prompt",
622
+ lines=10,
623
+ show_copy_button=True
624
+ )
625
+ with gr.Column():
626
+ user_copy_output = gr.Textbox(
627
+ label="User-Facing Copy",
628
+ lines=10,
629
+ show_copy_button=True
630
+ )
631
+
632
+ clinical_notes_output = gr.Textbox(
633
+ label="Clinical Notes",
634
+ lines=5,
635
+ show_copy_button=True
636
+ )
637
+
638
  # Tab 2: Preview Tool
639
  with gr.Tab("Preview Tool"):
640