Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Commit
·
647b4ff
1
Parent(s):
3f35aee
more ui tweaks
Browse files
ui/src/app/jobs/new/SimplifiedJob.tsx
CHANGED
|
@@ -461,8 +461,6 @@ export default function SimplifiedJob({
|
|
| 461 |
|
| 462 |
return (
|
| 463 |
<form onSubmit={handleSubmit} className="space-y-8">
|
| 464 |
-
<h2 className="text-lg font-semibold text-gray-100">Start training</h2>
|
| 465 |
-
|
| 466 |
<Card title="Training Setup">
|
| 467 |
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
|
| 468 |
<TextInput
|
|
|
|
| 461 |
|
| 462 |
return (
|
| 463 |
<form onSubmit={handleSubmit} className="space-y-8">
|
|
|
|
|
|
|
| 464 |
<Card title="Training Setup">
|
| 465 |
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
|
| 466 |
<TextInput
|
ui/src/app/jobs/new/page.tsx
CHANGED
|
@@ -318,19 +318,21 @@ export default function TrainingForm() {
|
|
| 318 |
</MainContent>
|
| 319 |
) : showAdvancedView ? (
|
| 320 |
<MainContent className="pt-28">
|
| 321 |
-
<div className="px-2 pb-6">
|
| 322 |
-
<
|
| 323 |
-
|
| 324 |
-
|
| 325 |
-
|
| 326 |
-
|
| 327 |
-
|
| 328 |
-
|
| 329 |
-
|
| 330 |
-
|
| 331 |
-
|
| 332 |
-
|
| 333 |
-
|
|
|
|
|
|
|
| 334 |
</div>
|
| 335 |
</MainContent>
|
| 336 |
) : (
|
|
|
|
| 318 |
</MainContent>
|
| 319 |
) : showAdvancedView ? (
|
| 320 |
<MainContent className="pt-28">
|
| 321 |
+
<div className="px-2 pb-6 h-full">
|
| 322 |
+
<section className="flex flex-col relative w-full h-full text-left">
|
| 323 |
+
<AdvancedJob
|
| 324 |
+
jobConfig={jobConfig}
|
| 325 |
+
setJobConfig={setJobConfig}
|
| 326 |
+
status={status}
|
| 327 |
+
handleSubmit={handleSubmit}
|
| 328 |
+
runId={runId}
|
| 329 |
+
gpuIDs={gpuIDs}
|
| 330 |
+
setGpuIDs={setGpuIDs}
|
| 331 |
+
gpuList={gpuList}
|
| 332 |
+
datasetOptions={datasetOptions}
|
| 333 |
+
settings={settings}
|
| 334 |
+
/>
|
| 335 |
+
</section>
|
| 336 |
</div>
|
| 337 |
</MainContent>
|
| 338 |
) : (
|
ui/src/components/HFJobsWorkflow.tsx
CHANGED
|
@@ -712,6 +712,7 @@ export default function HFJobsWorkflow({ jobConfig, onComplete, hackathonEligibl
|
|
| 712 |
|
| 713 |
return (
|
| 714 |
<div className="space-y-6">
|
|
|
|
| 715 |
{/* Progress indicator */}
|
| 716 |
<div className="flex items-center justify-between mb-6">
|
| 717 |
{(['validate', 'upload', 'submit', 'complete'] as Step[]).map((step, index) => (
|
|
|
|
| 712 |
|
| 713 |
return (
|
| 714 |
<div className="space-y-6">
|
| 715 |
+
<h2 className="text-lg font-semibold text-gray-100">Start training</h2>
|
| 716 |
{/* Progress indicator */}
|
| 717 |
<div className="flex items-center justify-between mb-6">
|
| 718 |
{(['validate', 'upload', 'submit', 'complete'] as Step[]).map((step, index) => (
|