Enferlain commited on
Commit
4b64b55
·
verified ·
1 Parent(s): 3efd54f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -124,7 +124,7 @@ class HybridHeadModel(nn.Module):
124
  # Replace with your HF username and repo name
125
  HUB_REPO_ID = "Enferlain/lumi-classifier" # Or wherever you uploaded the model
126
  # Use the specific checkpoint you want (e.g., s9k or the best_val one)
127
- HEAD_MODEL_FILENAME = "AnatomyFlaws-v11.3_adabelief_fl_naflex_3000_s9K.safetensors"
128
  # Usually config corresponds to the base run name, not a specific step
129
  CONFIG_FILENAME = "AnatomyFlaws-v11.3_adabelief_fl_naflex_3000.config.json"
130
 
@@ -262,7 +262,6 @@ DESCRIPTION = """
262
  Upload an image to classify its anatomy as 'Good' or 'Bad'.
263
  This model uses embeddings from **google/siglip2-so400m-patch16-naflex**
264
  and a custom **HybridHeadModel** fine-tuned for anatomy classification.
265
- Model Checkpoint: **AnatomyFlaws-v11.3_..._s9K** (or specify which one).
266
  """
267
 
268
  # Add example images if you have some in an 'examples' folder in the Space repo
 
124
  # Replace with your HF username and repo name
125
  HUB_REPO_ID = "Enferlain/lumi-classifier" # Or wherever you uploaded the model
126
  # Use the specific checkpoint you want (e.g., s9k or the best_val one)
127
+ HEAD_MODEL_FILENAME = "AnatomyFlaws-v11.3_adabelief_fl_naflex_3000_s6K_best_val.safetensors"
128
  # Usually config corresponds to the base run name, not a specific step
129
  CONFIG_FILENAME = "AnatomyFlaws-v11.3_adabelief_fl_naflex_3000.config.json"
130
 
 
262
  Upload an image to classify its anatomy as 'Good' or 'Bad'.
263
  This model uses embeddings from **google/siglip2-so400m-patch16-naflex**
264
  and a custom **HybridHeadModel** fine-tuned for anatomy classification.
 
265
  """
266
 
267
  # Add example images if you have some in an 'examples' folder in the Space repo