akseljoonas HF Staff commited on
Commit
658b046
Β·
1 Parent(s): a67b60f

Rename product to ML Intern in frontend

Browse files

Update page title, app header, welcome screen title, and the iframe
'Open' step labels from ML Agent to ML Intern.

frontend/index.html CHANGED
@@ -4,7 +4,7 @@
4
  <meta charset="UTF-8" />
5
  <link rel="icon" type="image/webp" href="/smolagents.webp" />
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <title>ML Agent</title>
8
  <link rel="preconnect" href="https://fonts.googleapis.com" />
9
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
10
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet" />
 
4
  <meta charset="UTF-8" />
5
  <link rel="icon" type="image/webp" href="/smolagents.webp" />
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+ <title>ML Intern</title>
8
  <link rel="preconnect" href="https://fonts.googleapis.com" />
9
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
10
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet" />
frontend/src/components/Layout/AppLayout.tsx CHANGED
@@ -244,7 +244,7 @@ export default function AppLayout() {
244
  fontSize: { xs: '0.88rem', md: '0.95rem' },
245
  }}
246
  >
247
- ML Agent
248
  </Typography>
249
  </Box>
250
 
 
244
  fontSize: { xs: '0.88rem', md: '0.95rem' },
245
  }}
246
  >
247
+ ML Intern
248
  </Typography>
249
  </Box>
250
 
frontend/src/components/WelcomeScreen/WelcomeScreen.tsx CHANGED
@@ -271,7 +271,7 @@ export default function WelcomeScreen() {
271
  const joinOrgStatus: StepStatus = isOrgMember ? 'completed' : isAuthenticated ? 'active' : 'locked';
272
  const startStatus: StepStatus = isAuthenticated && isOrgMember ? 'active' : 'locked';
273
 
274
- // Space URL for iframe "Open ML Agent" step
275
  const spaceHost =
276
  typeof window !== 'undefined'
277
  ? window.location.hostname.includes('.hf.space')
@@ -311,7 +311,7 @@ export default function WelcomeScreen() {
311
  fontSize: { xs: '1.8rem', md: '2.4rem' },
312
  }}
313
  >
314
- ML Agent
315
  </Typography>
316
 
317
  {/* Description */}
@@ -328,7 +328,7 @@ export default function WelcomeScreen() {
328
  '& strong': { color: 'var(--text)', fontWeight: 600 },
329
  }}
330
  >
331
- Your <strong>ML intern</strong>. It reads <strong>papers</strong>, finds <strong>datasets</strong>, trains <strong>models</strong>, and iterates until the numbers go up. Instructions in. Trained model out.
332
  </Typography>
333
 
334
  {/* ── Checklist ──────────────────────────────────────────── */}
@@ -370,11 +370,11 @@ export default function WelcomeScreen() {
370
  />
371
  <ChecklistStep
372
  stepNumber={2}
373
- title="Open ML Agent"
374
  description="Open the agent in a full browser tab to get started."
375
  status={isOrgMember ? 'active' : 'locked'}
376
  lockedReason="Join the organization first."
377
- actionLabel="Open ML Agent"
378
  actionIcon={<OpenInNewIcon sx={{ fontSize: 16 }} />}
379
  actionHref={spaceHost}
380
  isLast
 
271
  const joinOrgStatus: StepStatus = isOrgMember ? 'completed' : isAuthenticated ? 'active' : 'locked';
272
  const startStatus: StepStatus = isAuthenticated && isOrgMember ? 'active' : 'locked';
273
 
274
+ // Space URL for iframe "Open ML Intern" step
275
  const spaceHost =
276
  typeof window !== 'undefined'
277
  ? window.location.hostname.includes('.hf.space')
 
311
  fontSize: { xs: '1.8rem', md: '2.4rem' },
312
  }}
313
  >
314
+ ML Intern
315
  </Typography>
316
 
317
  {/* Description */}
 
328
  '& strong': { color: 'var(--text)', fontWeight: 600 },
329
  }}
330
  >
331
+ Your personal <strong>ML agent</strong>. It reads <strong>papers</strong>, finds <strong>datasets</strong>, trains <strong>models</strong>, and iterates until the numbers go up. Instructions in. Trained model out.
332
  </Typography>
333
 
334
  {/* ── Checklist ──────────────────────────────────────────── */}
 
370
  />
371
  <ChecklistStep
372
  stepNumber={2}
373
+ title="Open ML Intern"
374
  description="Open the agent in a full browser tab to get started."
375
  status={isOrgMember ? 'active' : 'locked'}
376
  lockedReason="Join the organization first."
377
+ actionLabel="Open ML Intern"
378
  actionIcon={<OpenInNewIcon sx={{ fontSize: 16 }} />}
379
  actionHref={spaceHost}
380
  isLast