Skip to content

Repository files navigation

Frontend API configuration

  • The app calls a unified backend deployed on Hugging Face Spaces.
  • Configure the base URL via env var:
    • NEXT_PUBLIC_API_BASE

Endpoints expected by the frontend

  • POST /disease/predict (multipart/form-data, field name: file)
  • POST /yield-and-fertilizer (application/json)
  • GET /metadata/fertilizer-options

Local development

.......................

About

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages