John Ho commited on
Commit
e13ff04
·
1 Parent(s): 6ec3c10

updated case matching

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ def load_model(
85
 
86
  # Load model based on family
87
  match model_family:
88
- case "qwen2.5":
89
  model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
90
  model_name, **common_args
91
  )
 
85
 
86
  # Load model based on family
87
  match model_family:
88
+ case "qwen2.5" | "Qwen2.5":
89
  model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
90
  model_name, **common_args
91
  )