jamesdon commited on
Commit
7c9edea
·
1 Parent(s): c77789f
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -5,7 +5,7 @@ import torch
5
  class EndpointHandler:
6
  def __init__(self, path=""):
7
  # load model and processor from path
8
- path = "facebook/audiogen-medium"
9
  self.processor = AutoProcessor.from_pretrained(path)
10
  self.model = MusicgenForConditionalGeneration.from_pretrained(path).to("cuda")
11
 
 
5
  class EndpointHandler:
6
  def __init__(self, path=""):
7
  # load model and processor from path
8
+ path = "jamesdon/audiogen-medium-endpoint"
9
  self.processor = AutoProcessor.from_pretrained(path)
10
  self.model = MusicgenForConditionalGeneration.from_pretrained(path).to("cuda")
11