cathyi commited on
Commit
93e0850
·
1 Parent(s): c04524d

update model

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -12,7 +12,7 @@ from peft import LoraConfig, PeftModel, LoraModel, LoraConfig, get_peft_model, P
12
  class EndpointHandler():
13
  def __init__(self, path=""):
14
  # Preload all the elements you are going to need at inference.
15
- peft_model_id = "cathyi/openai-whisper-large-v2-Lora"
16
  language = "Chinese"
17
  task = "transcribe"
18
  peft_config = PeftConfig.from_pretrained(peft_model_id)
 
12
  class EndpointHandler():
13
  def __init__(self, path=""):
14
  # Preload all the elements you are going to need at inference.
15
+ peft_model_id = "cathyi/tw-tw-openai-whisper-large-v2-Lora-epoch5-total5epoch"
16
  language = "Chinese"
17
  task = "transcribe"
18
  peft_config = PeftConfig.from_pretrained(peft_model_id)