shriarul5273 commited on
Commit
3dc2778
·
1 Parent(s): 056f1a0

changed default model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -468,7 +468,7 @@ def get_paginated_examples(examples: List[str], page: int = 0, per_page: int = 6
468
 
469
  def create_app():
470
  model_choices = get_model_choices()
471
- default1 = next((value for _, value in model_choices if value.startswith('v1_')), model_choices[0][1])
472
  default2 = next((value for _, value in model_choices if value == 'ppd'), None)
473
  if default2 is None:
474
  default2 = next((value for _, value in model_choices if value.startswith('v2_') and value != default1), model_choices[min(1, len(model_choices) - 1)][1])
 
468
 
469
  def create_app():
470
  model_choices = get_model_choices()
471
+ default1 = next((value for _, value in model_choices if value == 'v2_vitl'), model_choices[0][1])
472
  default2 = next((value for _, value in model_choices if value == 'ppd'), None)
473
  if default2 is None:
474
  default2 = next((value for _, value in model_choices if value.startswith('v2_') and value != default1), model_choices[min(1, len(model_choices) - 1)][1])