yetessam commited on
Commit
3253b41
·
verified ·
1 Parent(s): d6f4422

Update ui/contentagentui.py

Browse files
Files changed (1) hide show
  1. ui/contentagentui.py +2 -2
ui/contentagentui.py CHANGED
@@ -109,7 +109,7 @@ class ContentAgentUI:
109
  gr.Markdown("# Content Agent")
110
 
111
  # Control panel (shown first; may auto-hide on load)
112
- with gr.Group(visible=True) as self.control_panel:
113
 
114
  gr.Markdown("Testing ")
115
  self.status_box = gr.Textbox(
@@ -126,7 +126,7 @@ class ContentAgentUI:
126
  """)
127
 
128
  # Main panel (hidden until agent is initialized)
129
- with gr.Group(visible=False) as self.main_panel:
130
  # English only
131
  strInput = "Content Input"
132
  strPlaceholder="Copy and paste your content for evaluation here..."
 
109
  gr.Markdown("# Content Agent")
110
 
111
  # Control panel (shown first; may auto-hide on load)
112
+ with gr.Group(visible=True, elem_id= "control_panel" ) as self.control_panel:
113
 
114
  gr.Markdown("Testing ")
115
  self.status_box = gr.Textbox(
 
126
  """)
127
 
128
  # Main panel (hidden until agent is initialized)
129
+ with gr.Group(visible=False, elem_id= "main" ) as self.main_panel:
130
  # English only
131
  strInput = "Content Input"
132
  strPlaceholder="Copy and paste your content for evaluation here..."