Skip to content

Commit f39b154

Browse files
author
katiue
committed
reduce changes
1 parent b10a606 commit f39b154

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

webui.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
# Global variables for persistence
3636
_global_browser = None
3737
_global_browser_context = None
38-
_global_playwright = None
3938

4039
async def run_browser_agent(
4140
agent_type,
@@ -258,8 +257,6 @@ async def run_custom_agent(
258257
)
259258
)
260259

261-
# Handle browser context based on configuration
262-
263260
if _global_browser_context is None:
264261
_global_browser_context = await _global_browser.new_context(
265262
config=BrowserContextConfig(
@@ -670,7 +667,7 @@ def create_ui(theme_name="Ocean"):
670667
with gr.TabItem("📊 Results", id=5):
671668
with gr.Group():
672669

673-
recording_file = gr.Video(label="Latest Recording")
670+
recording_display = gr.Video(label="Latest Recording")
674671

675672
gr.Markdown("### Results")
676673
with gr.Row():

0 commit comments

Comments
 (0)