Skip to content
Snippets Groups Projects
Commit e68f0bd8 authored by ali asaria's avatar ali asaria
Browse files

round off progress

parent f70f9b29
No related branches found
No related tags found
No related merge requests found
......@@ -273,7 +273,11 @@ export default function TrainLoRA({ experimentInfo }) {
<td>
<Chip color={jobChipColor(job.status)}>
{job.status}
{job.progress == '-1' ? '' : ' - ' + job.progress + '%'}
{job.progress == '-1'
? ''
: ' - ' +
Number.parseFloat(job.progress).toFixed(1) +
'%'}
</Chip>
<br />
<br />
......@@ -288,7 +292,7 @@ export default function TrainLoRA({ experimentInfo }) {
justifyContent: 'flex-end',
}}
>
{job?.job_data?.tensorboard_output_dir && (
{(job?.job_data?.tensorboard_output_dir || true) && (
<Button
size="sm"
onClick={() => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment