Spaces:
Running
Running
Update models.py
Browse files
models.py
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
-
|
2 |
|
3 |
-
# Load and return the model interface
|
4 |
def load_model():
|
5 |
-
return
|
|
|
1 |
+
from transformers import pipeline
|
2 |
|
|
|
3 |
def load_model():
|
4 |
+
return pipeline("text-generation", model="deepseek-ai/DeepSeek-R1")
|