Priyanka6 commited on
Commit
3c69f29
Β·
1 Parent(s): 052bffd

Update space

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -104,7 +104,7 @@ def trim_adapter_weights(model_path):
104
  trimmed_adapter_path = os.path.join(model_path, "adapter_model_trimmed.safetensors")
105
  save_file(checkpoint, trimmed_adapter_path)
106
  return trimmed_adapter_path
107
- print("did execute the if block!")
108
  return model_path
109
  model_path=os.path.join(MODEL_1_PATH,"adapter_model.safetensors")
110
  trimmed_adapter_path = trim_adapter_weights(model_path)
 
104
  trimmed_adapter_path = os.path.join(model_path, "adapter_model_trimmed.safetensors")
105
  save_file(checkpoint, trimmed_adapter_path)
106
  return trimmed_adapter_path
107
+ print("didn't execute the if block!")
108
  return model_path
109
  model_path=os.path.join(MODEL_1_PATH,"adapter_model.safetensors")
110
  trimmed_adapter_path = trim_adapter_weights(model_path)