harrypy commited on
Commit
cce9d71
β€’
1 Parent(s): 962e72d

chore: fix app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ import gradio as gr
19
 
20
  from transformers import AutoModelForCausalLM, AutoTokenizer
21
  import torch
22
- device = "cuda" # the device to load the model onto
23
 
24
  model = AutoModelForCausalLM.from_pretrained(
25
  "vilm/VinaLlama2-14B",
 
19
 
20
  from transformers import AutoModelForCausalLM, AutoTokenizer
21
  import torch
22
+ device = "cpu" # the device to load the model onto
23
 
24
  model = AutoModelForCausalLM.from_pretrained(
25
  "vilm/VinaLlama2-14B",