File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -1324,11 +1324,6 @@ def micro_sam_info():
13241324 Panel (f"[bold #009E73]Cache Directory:[/bold #009E73]\n { cache_dir } " , title = "Cache Directory" )
13251325 )
13261326
1327- # The available models panel.
1328- curr_models = list (get_model_names ())
1329- # We filter out the decoder models.
1330- curr_models = [m for m in curr_models if not m .endswith ("_decoder" )]
1331-
13321327 # We have a simple versioning logic here (which is what I'll follow here for mapping model versions).
13331328 available_models = []
13341329 for model_name , model_path in models ().urls .items (): # We filter out the decoder models.
@@ -1356,6 +1351,8 @@ def micro_sam_info():
13561351 available_models .append (f"{ model_name } (v4)" )
13571352
13581353 model_list = "\n " .join (available_models )
1354+
1355+ # The available models panel.
13591356 console .print (
13601357 Panel (f"[bold #D55E00]Available Models:[/bold #D55E00]\n { model_list } " , title = "List of Supported Models" )
13611358 )
You can’t perform that action at this time.
0 commit comments