JacobLinCool Codex commited on
Commit
840ab13
·
verified ·
1 Parent(s): 8652b1a

feat: improve qwen zerogpu ux

Browse files

Co-authored-by: Codex <noreply@openai.com>

Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -26,13 +26,12 @@ PRIVACY_WARNING = (
26
  "This app analyzes only visible agent narrative messages by default and does not need raw tool outputs."
27
  )
28
 
29
- HERO_MD = f"""
30
- <div class="hero">
31
- <div class="hero-kicker">ZeroGPU field report</div>
32
- <h1>Trace Field Notes</h1>
33
- <p>Map where a coding agent got stuck, changed route, recovered, and claimed success.</p>
34
- </div>
35
- <div class="privacy-callout">{PRIVACY_WARNING}</div>
36
  """
37
 
38
  SESSION_PATHS_MD = """
@@ -88,7 +87,7 @@ CUSTOM_CSS = """
88
  color: var(--field-muted);
89
  font-size: 15px;
90
  }
91
- .hero-kicker {
92
  margin-bottom: 8px;
93
  color: #7dd3fc;
94
  font: 700 12px/1.2 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
@@ -243,7 +242,8 @@ with gr.Blocks(
243
  font_mono=[gr.themes.GoogleFont("IBM Plex Mono"), "ui-monospace", "monospace"],
244
  ),
245
  ) as demo:
246
- gr.Markdown(HERO_MD)
 
247
 
248
  with gr.Row(equal_height=False):
249
  with gr.Column(scale=3, elem_classes=["trace-panel"]):
 
26
  "This app analyzes only visible agent narrative messages by default and does not need raw tool outputs."
27
  )
28
 
29
+ HERO_MD = """
30
+ **ZeroGPU field report**
31
+
32
+ # Trace Field Notes
33
+
34
+ Map where a coding agent got stuck, changed route, recovered, and claimed success.
 
35
  """
36
 
37
  SESSION_PATHS_MD = """
 
87
  color: var(--field-muted);
88
  font-size: 15px;
89
  }
90
+ .hero strong {
91
  margin-bottom: 8px;
92
  color: #7dd3fc;
93
  font: 700 12px/1.2 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
 
242
  font_mono=[gr.themes.GoogleFont("IBM Plex Mono"), "ui-monospace", "monospace"],
243
  ),
244
  ) as demo:
245
+ gr.Markdown(HERO_MD, elem_classes=["hero"])
246
+ gr.Markdown(PRIVACY_WARNING, elem_classes=["privacy-callout"])
247
 
248
  with gr.Row(equal_height=False):
249
  with gr.Column(scale=3, elem_classes=["trace-panel"]):