Skip to content

Commit

Permalink
addressing pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nadijagraca committed Aug 20, 2024
1 parent 98db7ed commit 5477c43
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ class ComponentPlan(BaseModel):

def create(self, model, all_df_metadata) -> Union[vm.Card, vm.AgGrid, vm.Figure]:
"""Create the component."""
from vizro_ai import VizroAI

try:
if self.component_type == "Graph":
from vizro_ai import VizroAI

vizro_ai = VizroAI(model=model)

return vm.Graph(
Expand Down

0 comments on commit 5477c43

Please sign in to comment.