Skip to content
Snippets Groups Projects
Commit 7d16a54f authored by Tony Salomone's avatar Tony Salomone
Browse files

Show total model size on DownloadProgressBox

parent b478176c
No related branches found
No related tags found
No related merge requests found
...@@ -59,6 +59,18 @@ export default function DownloadProgressBox({ jobId, assetName }) { ...@@ -59,6 +59,18 @@ export default function DownloadProgressBox({ jobId, assetName }) {
1024 1024
) )
: 'Download Starting'} : 'Download Starting'}
{downloadProgress?.job_data?.total_size_of_model_in_mb >
0 && (
<>
{'/'}
{formatBytes(
downloadProgress?.job_data?.total_size_of_model_in_mb
* 1024
* 1024
)}
</>
)}
</> </>
</Typography> </Typography>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment