diff --git a/frontend/src/upload/Upload.tsx b/frontend/src/upload/Upload.tsx index e404bd12..9a0f62d0 100644 --- a/frontend/src/upload/Upload.tsx +++ b/frontend/src/upload/Upload.tsx @@ -19,20 +19,27 @@ export default function Upload({ type: 'UPLOAD' | 'TRAINIING'; percentage: number; taskId?: string; + failed?: boolean; }>(); function Progress({ title, isCancellable = false, + isFailed = false, }: { title: string; isCancellable?: boolean; + isFailed?: boolean; }) { return (

{title}...

This may take several minutes

+

+ Over the token limit, please consider uploading smaller document +

{progress?.percentage || 0}%

+
+