fix
Browse files- 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 = "
|
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 |
|