edwardjiang commited on
Commit
40631c2
1 Parent(s): 9a34d4f

Update educhat_gradio.py

Browse files
Files changed (1) hide show
  1. educhat_gradio.py +1 -1
educhat_gradio.py CHANGED
@@ -63,7 +63,7 @@ def get_specific_model(
63
  # for now, we can use an argument but in the future,
64
  # we can automate this
65
 
66
- model = transformers.LlamaForCausalLM.from_pretrained(model_name,torch_dtype=torch.float16, ).half().cuda()
67
 
68
  return model
69
 
 
63
  # for now, we can use an argument but in the future,
64
  # we can automate this
65
 
66
+ model = transformers.LlamaForCausalLM.from_pretrained(model_name,torch_dtype=torch.float16, ).half()
67
 
68
  return model
69