DeepSeek-R1-Chatbot / models.py
ruslanmv's picture
Update models.py
cec1f02 verified
raw
history blame
124 Bytes
from transformers import pipeline
def load_model():
return pipeline("text-generation", model="deepseek-ai/DeepSeek-R1")