bstraehle commited on
Commit
8c90204
1 Parent(s): 17cccab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -149,7 +149,7 @@ def load_model(model_name):
149
  #task_type="CAUSAL_LM",
150
  )
151
  print("222")
152
- model = PeftModel.from_pretrained(base_model, "new_model", peft_config=peft_config)
153
  print("333")
154
  model = model.merge_and_unload()
155
  print("444")
 
149
  #task_type="CAUSAL_LM",
150
  )
151
  print("222")
152
+ model = PeftModel.from_pretrained(model, "new_model", peft_config=peft_config)
153
  print("333")
154
  model = model.merge_and_unload()
155
  print("444")