Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,10 +9,11 @@ import gradio as gr
|
|
9 |
|
10 |
text_generator = None
|
11 |
|
12 |
-
|
13 |
-
model_id = "AXCXEPT/phi-4-open-R1-Distill-EZOv1"
|
14 |
|
15 |
huggingface_token = os.getenv("HUGGINGFACE_TOKEN")
|
|
|
16 |
device = "auto" # torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
17 |
device = "cuda"
|
18 |
dtype = torch.bfloat16
|
|
|
9 |
|
10 |
text_generator = None
|
11 |
|
12 |
+
model_id = "AXCXEPT/phi-4-deepseek-R1K-RL-EZO"
|
13 |
+
#model_id = "AXCXEPT/phi-4-open-R1-Distill-EZOv1"#not well work with my old code
|
14 |
|
15 |
huggingface_token = os.getenv("HUGGINGFACE_TOKEN")
|
16 |
+
huggingface_token = None
|
17 |
device = "auto" # torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
18 |
device = "cuda"
|
19 |
dtype = torch.bfloat16
|