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

Use "Model Type" Attribute to Filter Navbar Items in TT-Studio #204

Open
anirudTT opened this issue Feb 25, 2025 · 1 comment
Open

Use "Model Type" Attribute to Filter Navbar Items in TT-Studio #204

anirudTT opened this issue Feb 25, 2025 · 1 comment

Comments

@anirudTT
Copy link
Contributor

Describe the bug/limitation
Currently, the TT-Studio navbar displays all model-related options regardless of whether a deployed model supports them. This can lead to unnecessary clutter and confusion for users.

Expected behavior
The navbar should dynamically adjust based on the Model Type attribute, only showing options relevant to the deployed models.

Steps to reproduce:

  1. Deploy a model that does not support Object Detection; eg any LLM .
  2. Observe that Object Detection icon still appears in the navbar.

Proposed Solution:

  • Use the Model Type attribute to filter which options are displayed.
  • Hide irrelevant model icons in the navbar when no supporting model is available.

Additional context:
This will improve usability by keeping the interface cleaner and reducing confusion about the deployed model’s unsupported features.

@bgoelTT
Copy link
Contributor

bgoelTT commented Feb 25, 2025

We need to update app/api/docker_control/docker_utils.py:get_container_status to propagate the new model_type field in the ModelImpl object to the frontend via the Status view.

The frontend needs to be updated in app/frontend/src/api/modelsDeployedApis.ts to add this additional field.

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

2 participants