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

πŸš€ Issue: Image Upload Not Triggering in Train Model Section (Dashboard) #16

Open
coder-prashant-raut opened this issue Feb 14, 2025 · 0 comments

Comments

@coder-prashant-raut
Copy link

⚑ Overview:

In the Train Model section of our AI image application, users need to upload images and define attributes like eye color, skin tone, etc. However, after selecting images and clicking "Open," the upload does not start automatically – leaving users confused and interrupting the workflow.

πŸ”Ή Expected Behavior: Images should upload instantly after selection.
πŸ”Ή Actual Behavior: Images are not being uploaded after selection, requiring additional action.

🎯 Steps to Reproduce:

1️⃣ Navigate to the Train Model section.
2️⃣ Click on the "Upload" button to open the file selection dialog.
3️⃣ Select one or multiple images and click "Open."
4️⃣ ❌ Issue: No upload is triggered after selection.
5️⃣ βœ… What should happen? Images should start uploading immediately.

πŸ” Potential Causes:

πŸ›‘ The onChange event of the file input is not firing correctly.
πŸ›‘ The upload function is not properly handling the selected images.
πŸ›‘ The API request for uploading is not being triggered automatically.
πŸ›‘ The state update is failing, preventing images from processing.
πŸ›‘ A possible JavaScript error or network issue is blocking the request.

πŸ›  Suggested Fixes:

βœ… Ensure the onChange event is correctly linked to the upload function.
βœ… Debug if the selected files are properly stored before uploading.
βœ… Inspect network logs to see if the upload API request is firing.
βœ… Add console logs to verify state updates after file selection.
βœ… Review the Train Model workflow logic to ensure smooth processing.

🚨 Priority: HIGH

This issue directly impacts model training, making it critical for a seamless user experience.

πŸ“Œ Additional Notes:

πŸ’‘ Check for console errors, network failures, or unexpected JavaScript behavior.
πŸ’‘ If necessary, attach logs or screenshots to help diagnose the issue.

πŸ”₯ Let's fix this and get the AI training back on track! πŸš€

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

No branches or pull requests

1 participant