Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,8 @@ from transformers import AutoModelForCausalLM, AutoTokenizer, TextIteratorStream
|
|
4 |
import torch
|
5 |
from threading import Thread
|
6 |
|
7 |
-
phi4_model_path = "microsoft/
|
8 |
-
phi4_mini_model_path = "microsoft/Phi-4-mini-
|
9 |
|
10 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
11 |
|
|
|
4 |
import torch
|
5 |
from threading import Thread
|
6 |
|
7 |
+
phi4_model_path = "microsoft/Phi-4-reasoning-plus"
|
8 |
+
phi4_mini_model_path = "microsoft/Phi-4-mini-reasoning"
|
9 |
|
10 |
device = "cuda:0" if torch.cuda.is_available() else "cpu"
|
11 |
|