Spaces:
Sleeping
Sleeping
Update connections/model.py
Browse files- connections/model.py +2 -0
connections/model.py
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
from unsloth import FastLanguageModel
|
|
|
2 |
|
|
|
3 |
class InferencePipeline:
|
4 |
def __init__(self, conf, api_key):
|
5 |
self.conf = conf
|
|
|
1 |
from unsloth import FastLanguageModel
|
2 |
+
import spaces
|
3 |
|
4 |
+
@spaces.GPU
|
5 |
class InferencePipeline:
|
6 |
def __init__(self, conf, api_key):
|
7 |
self.conf = conf
|