@@ -177,21 +177,21 @@ async def _run():
177177 reset_btn = gr .Button ("Reset" , variant = "stop" )
178178
179179 with gr .Row ():
180- chatbot = gr .Chatbot (label = "Agent" , height = 400 , scale = 3 )
180+ with gr .Column (scale = 3 ):
181+ chatbot = gr .Chatbot (label = "Agent" , height = 400 )
182+ with gr .Row ():
183+ chat_input = gr .Textbox (
184+ placeholder = "Type prompt or response here..." ,
185+ show_label = False , scale = 4 , lines = 1
186+ )
187+ send_btn = gr .Button ("Send" , scale = 0 , min_width = 80 )
181188 with gr .Column (scale = 2 ):
182189 version_dropdown = gr .Dropdown (
183190 label = "libE scripts" , choices = _init_versions , value = "latest"
184191 )
185192 script_file_dropdown = gr .Dropdown (label = "Generated Scripts" , choices = [], value = None )
186193 output_script = gr .Code (label = "Script Content" , language = "python" , lines = 10 )
187194
188- with gr .Row ():
189- chat_input = gr .Textbox (
190- placeholder = "Type response here..." ,
191- show_label = False , scale = 4 , lines = 1
192- )
193- send_btn = gr .Button ("Send" , scale = 0 , min_width = 80 )
194-
195195 # --- Helpers ---
196196
197197 def _drain_queue (q ):
0 commit comments