Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The number of files exceeded settings.DATA_UPLOAD_MAX_NUMBER_FILES. #6777

Open
dearMOMO opened this issue Dec 10, 2024 · 4 comments
Open

The number of files exceeded settings.DATA_UPLOAD_MAX_NUMBER_FILES. #6777

dearMOMO opened this issue Dec 10, 2024 · 4 comments

Comments

@dearMOMO
Copy link

The number of files exceeded settings.DATA_UPLOAD_MAX_NUMBER_FILES.
image

@heidi-humansignal
Copy link
Collaborator

Hello,

You can always increase the size of the file. Would mind telling what are you trying to import and whats the size of the file?

If you're running Label Studio via the command line:

DATA_UPLOAD_MAX_NUMBER_FILES=1000 label-studio start

Replace 1000 with the maximum number of files you want to allow in a single upload.

Thank you,
Abu

Comment by Abubakar Saad
Workflow Run

@dearMOMO
Copy link
Author

win system ,pip installs label-studio ,Running the following startup command results in an error

DATA_UPLOAD_MAX_NUMBER_FILES=1000 label-studio start --port 8090 --data-dir D:\MOMO\label-studio

How to solve the problem of limiting the number of files uploaded

@dearMOMO
Copy link
Author

image

@heidi-humansignal
Copy link
Collaborator

Hello,

This syntax is mostly for Unix-based systems, but not for Windows.

DATA_UPLOAD_MAX_NUMBER_FILES=1000 label-studio start --port 8090 --data-dir D:\MOMO\label-studio

Instead try this:

  1. Open Command Prompt:
    Press Win + R, type cmd, and press Enter.

  2. Set the Environment Variable:
    Use the set command to set the environment variable for the current session:

    set DATA_UPLOAD_MAX_NUMBER_FILES=1000

(Replace 1000 with the maximum number of files you want to allow.)

  1. Start Label Studio:

    label-studio start --port 8090 --data-dir D:\MOMO\label-studio

Thank you,
Abu

Comment by Abubakar Saad
Workflow Run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants