diff --git a/frontend/src/upload/Upload.tsx b/frontend/src/upload/Upload.tsx index 7b426e19..a7246bc3 100644 --- a/frontend/src/upload/Upload.tsx +++ b/frontend/src/upload/Upload.tsx @@ -48,6 +48,26 @@ function Upload({ value: 'url', }); + function ProgressBar({ progress }: { progress: number }) { + return ( +
+
+
+ {progress >= 5 && `${progress}%`} +
+
+ {/*
*/} +
+ ); + } + function Progress({ title, isCancellable = false, @@ -64,15 +84,10 @@ function Upload({

Over the token limit, please consider uploading smaller document

-

{progress?.percentage || 0}%

+ {/*

{progress?.percentage || 0}%

*/} -
-
-
-
+ {/* progress bar */} +