Spaces:
Sleeping
Sleeping
Update ui/contentagentui.py
Browse files- ui/contentagentui.py +5 -4
ui/contentagentui.py
CHANGED
|
@@ -143,11 +143,11 @@ class ContentAgentUI:
|
|
| 143 |
# Main panel (hidden until agent is initialized)
|
| 144 |
with gr.Group(visible=False, elem_id="main_panel" ) as self.main_panel:
|
| 145 |
# English only
|
| 146 |
-
strInput
|
| 147 |
strPlaceholder="Copy and paste your content for evaluation here..."
|
| 148 |
-
strSubmit
|
| 149 |
-
strOutput
|
| 150 |
-
strClear=
|
| 151 |
|
| 152 |
|
| 153 |
# Guidance / about
|
|
@@ -156,6 +156,7 @@ class ContentAgentUI:
|
|
| 156 |
# Chat controls
|
| 157 |
self.agent_state = gr.State(None)
|
| 158 |
self.prompt = gr.Textbox(label=strInput, placeholder=strPlaceholder, lines=10)
|
|
|
|
| 159 |
with gr.Row(equal_height=True):
|
| 160 |
|
| 161 |
submit_btn = gr.Button(strSubmit)
|
|
|
|
| 143 |
# Main panel (hidden until agent is initialized)
|
| 144 |
with gr.Group(visible=False, elem_id="main_panel" ) as self.main_panel:
|
| 145 |
# English only
|
| 146 |
+
strInput="Content Input"
|
| 147 |
strPlaceholder="Copy and paste your content for evaluation here..."
|
| 148 |
+
strSubmit="Submit"
|
| 149 |
+
strOutput="Label and Score"
|
| 150 |
+
strClear="Clear"
|
| 151 |
|
| 152 |
|
| 153 |
# Guidance / about
|
|
|
|
| 156 |
# Chat controls
|
| 157 |
self.agent_state = gr.State(None)
|
| 158 |
self.prompt = gr.Textbox(label=strInput, placeholder=strPlaceholder, lines=10)
|
| 159 |
+
|
| 160 |
with gr.Row(equal_height=True):
|
| 161 |
|
| 162 |
submit_btn = gr.Button(strSubmit)
|