ai-cfia / nachet-frontend

Frontend application for seed classification of images acquired from digital microscopes
MIT License
2 stars 2 forks source link

Implement Model Selection/Switching Feature #93

Closed CFIALeronB closed 3 weeks ago

CFIALeronB commented 3 months ago

Description

Currently, in the Nachet Frontend, users need the ability to select different models from a provided list. Upon selecting a specific model, the frontend should make an API call to the Nachet Backend, passing the selected model's name as a parameter in the request payload. This feature is crucial for dynamically updating the app's behavior and content based on the chosen model.

Requirements:

  1. Model Selection Interface:

    • Implement a user-friendly interface for model selection. This could be a dropdown list or a set of radio buttons, allowing the user to choose from the available models.
  2. State Management:

    • Manage the state of the selected model in the frontend application. Ensure that the app correctly reflects the currently selected model.
  3. Backend Integration:

    • Upon model selection, trigger an API call to the Nachet Backend. The model name should be included in the request payload, allowing the backend to respond with model-specific data or actions.
rngadam commented 3 months ago

don't forget to set the Projects attribute

MaxenceGui commented 3 weeks ago

Mark as done (PR is closed)

Image