mirror of
https://github.com/StanGirard/quivr.git
synced 2024-11-11 00:23:17 +03:00
fix(file): updated file size
This commit is contained in:
parent
02f58c84b8
commit
8acb4eb064
@ -73,7 +73,7 @@ export default function UploadPage() {
|
||||
const { getRootProps, getInputProps, isDragActive, open } = useDropzone({
|
||||
onDrop,
|
||||
noClick: true,
|
||||
maxSize: 1000000, // 1 MB
|
||||
maxSize: 100000000, // 1 MB
|
||||
});
|
||||
|
||||
return (
|
||||
@ -126,9 +126,6 @@ export default function UploadPage() {
|
||||
</div>
|
||||
)}
|
||||
</Card>
|
||||
<p className="opacity-50">
|
||||
This is the demo mode, the max file size is 1MB
|
||||
</p>
|
||||
<div className="flex flex-col items-center justify-center gap-5">
|
||||
<Button isLoading={isPending} onClick={uploadAllFiles} className="">
|
||||
{isPending ? `Adding - ${files[pendingFileIndex].name}` : "Add"}
|
||||
|
Loading…
Reference in New Issue
Block a user