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

Fix model loading and prediction logic in various APIs; improve error… #741

Closed
wants to merge 1 commit into from

Conversation

vishalnadarge
Copy link

Description of Changes:

Model Loading and Prediction Logic:

Updated the model loading mechanism in the sugarcane-disease-api to improve error handling when loading multiple pre-trained models.
Refactored the prediction function to ensure it handles image preprocessing more robustly, enhancing overall prediction accuracy.
Documentation Updates:

Revised the README.md file to include clear installation instructions and usage guidelines for the API.
Added examples of how to use the sugarcane disease prediction API and improved overall documentation clarity.
API Enhancements:

Improved error handling in the API endpoints to return more informative messages in case of failure.
Optimized performance in various API modules, particularly in the plant_disease_detection and mushroom_edibility APIs.
Dependency Updates:

Updated several dependencies in the package.json file to ensure compatibility and leverage new features or security fixes.
Configuration File Modifications:

Made necessary adjustments to configuration files such as next.config.js and tailwind.config.js for better compatibility with recent updates.

Copy link

vercel bot commented Nov 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
agro-tech-ai ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 2, 2024 7:57am

Copy link
Contributor

github-actions bot commented Nov 2, 2024

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

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

Successfully merging this pull request may close these issues.

2 participants