Spaces:
Sleeping
Sleeping
app.py
CHANGED
@@ -8,7 +8,7 @@ from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
8 |
|
9 |
huggingface_hub.login(os.getenv('HF_TOKEN'))
|
10 |
tokenizer = AutoTokenizer.from_pretrained("deepseek-ai/DeepSeek-R1-Distill-Qwen-7B")
|
11 |
-
model = AutoModelForCausalLM.from_pretrained("deepseek-ai/DeepSeek-R1-Distill-Qwen-7B")
|
12 |
cuda_device = torch.device("cuda")
|
13 |
cpu_device = torch.device("cpu")
|
14 |
|
|
|
8 |
|
9 |
huggingface_hub.login(os.getenv('HF_TOKEN'))
|
10 |
tokenizer = AutoTokenizer.from_pretrained("deepseek-ai/DeepSeek-R1-Distill-Qwen-7B")
|
11 |
+
model = AutoModelForCausalLM.from_pretrained("deepseek-ai/DeepSeek-R1-Distill-Qwen-7B")
|
12 |
cuda_device = torch.device("cuda")
|
13 |
cpu_device = torch.device("cpu")
|
14 |
|