Lzy01241010 commited on
Commit
9893b8a
Β·
1 Parent(s): 9b0c194

ui: move walkthrough between Try examples and Output; rename label

Browse files

- Moved the gr.Accordion from full-width below the 2-col layout into the
left column (scale=6) between Try examples and Output. It now flows
with the rest of the chat-side content and inherits the column width.
- Renamed label from "See it in action β€” a real Mind2Web 2 research run"
to the shorter "A real Mind2Web2 research run".
- The .walkthrough inner CSS already uses %-width cards, overflow-x:auto
on the table, and mobile <=600px overrides, so width adapts to the
narrower column (and to phones) without further changes.

Files changed (1) hide show
  1. app.py +9 -7
app.py CHANGED
@@ -2777,6 +2777,15 @@ with gr.Blocks(
2777
  for ex in EXAMPLES
2778
  ]
2779
 
 
 
 
 
 
 
 
 
 
2780
  with gr.Group(elem_classes="section-card"):
2781
  gr.HTML(
2782
  '<div class="section-heading section-heading-row">'
@@ -2866,13 +2875,6 @@ with gr.Blocks(
2866
  elem_id="quest-temperature",
2867
  )
2868
 
2869
- # ── Walkthrough: curated trace from one real Mind2Web 2 run ────────────
2870
- with gr.Accordion(
2871
- label="See it in action β€” a real Mind2Web 2 research run",
2872
- open=False,
2873
- ):
2874
- gr.HTML(WALKTHROUGH_HTML)
2875
-
2876
  gr.HTML(
2877
  """
2878
  <footer class="quest-footer">
 
2777
  for ex in EXAMPLES
2778
  ]
2779
 
2780
+ # Walkthrough: curated trace from one real Mind2Web 2 run.
2781
+ # Sits between Try examples and Output; collapsed by default.
2782
+ with gr.Accordion(
2783
+ label="A real Mind2Web2 research run",
2784
+ open=False,
2785
+ elem_classes="walkthrough-acc",
2786
+ ):
2787
+ gr.HTML(WALKTHROUGH_HTML)
2788
+
2789
  with gr.Group(elem_classes="section-card"):
2790
  gr.HTML(
2791
  '<div class="section-heading section-heading-row">'
 
2875
  elem_id="quest-temperature",
2876
  )
2877
 
 
 
 
 
 
 
 
2878
  gr.HTML(
2879
  """
2880
  <footer class="quest-footer">