debisoft commited on
Commit
030c37e
·
1 Parent(s): bd10cc6
Files changed (1) hide show
  1. app.py +1 -1
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").to(device)
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