Spaces:
Sleeping
Sleeping
Update connections/model.py
Browse files- connections/model.py +6 -1
connections/model.py
CHANGED
@@ -1,6 +1,11 @@
|
|
1 |
import spaces
|
|
|
2 |
@spaces.GPU
|
3 |
-
|
|
|
|
|
|
|
|
|
4 |
|
5 |
|
6 |
class InferencePipeline:
|
|
|
1 |
import spaces
|
2 |
+
|
3 |
@spaces.GPU
|
4 |
+
def get_unsloth()
|
5 |
+
from unsloth import FastLanguageModel
|
6 |
+
return FastLanguageModel
|
7 |
+
|
8 |
+
FastLanguageModel = get_unsloth()
|
9 |
|
10 |
|
11 |
class InferencePipeline:
|