Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ app = FastAPI()
|
|
12 |
# Initialize text generation pipeline
|
13 |
generator = pipeline(
|
14 |
"text-generation",
|
15 |
-
model="
|
16 |
device="cpu" # Use CPU (change to device=0 for GPU)
|
17 |
)
|
18 |
|
|
|
12 |
# Initialize text generation pipeline
|
13 |
generator = pipeline(
|
14 |
"text-generation",
|
15 |
+
model="deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B",
|
16 |
device="cpu" # Use CPU (change to device=0 for GPU)
|
17 |
)
|
18 |
|