Try suppressing warning
Browse files
app.py
CHANGED
|
@@ -438,7 +438,7 @@ def extract_browser_uuid(js_uuid):
|
|
| 438 |
return js_uuid
|
| 439 |
|
| 440 |
|
| 441 |
-
def initialize_session(
|
| 442 |
if not browser_uuid:
|
| 443 |
new_uuid = str(uuid.uuid4())
|
| 444 |
print(f"[LOAD] No UUID from browser, generating: {new_uuid}")
|
|
@@ -609,9 +609,15 @@ _Please note that we store the task logs by default so **do not write any person
|
|
| 609 |
label="Store task and agent trace?", value=True
|
| 610 |
)
|
| 611 |
|
| 612 |
-
gr.Markdown(
|
| 613 |
-
|
| 614 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 615 |
|
| 616 |
def apply_theme(minimalist_mode: bool):
|
| 617 |
if not minimalist_mode:
|
|
|
|
| 438 |
return js_uuid
|
| 439 |
|
| 440 |
|
| 441 |
+
def initialize_session(interactive_mode, browser_uuid):
|
| 442 |
if not browser_uuid:
|
| 443 |
new_uuid = str(uuid.uuid4())
|
| 444 |
print(f"[LOAD] No UUID from browser, generating: {new_uuid}")
|
|
|
|
| 609 |
label="Store task and agent trace?", value=True
|
| 610 |
)
|
| 611 |
|
| 612 |
+
gr.Markdown(
|
| 613 |
+
"**Data**: You can opt-out of storing your trace if you uncheck the box above."
|
| 614 |
+
)
|
| 615 |
+
gr.Markdown(
|
| 616 |
+
"**Time**: The agent's first step can take a few seconds. Be patient!"
|
| 617 |
+
)
|
| 618 |
+
gr.Markdown(
|
| 619 |
+
"**Captcha**: Sometimes the VMs get flagged for weird behaviour and are blocked with a captcha. The models are not quite there, yet - best to interrupt the agent and solve it manually."
|
| 620 |
+
)
|
| 621 |
|
| 622 |
def apply_theme(minimalist_mode: bool):
|
| 623 |
if not minimalist_mode:
|