Vitrous commited on
Commit
6758d5a
·
verified ·
1 Parent(s): 4aadb45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -32,9 +32,9 @@ def mistral_model():
32
  else:
33
  print("CUDA is not available. CPU will be used.")
34
 
35
- model = AutoModelForCausalLM.from_pretrained(mistral_chat)
36
 
37
- tokenizer = AutoTokenizer.from_pretrained(mistral_chat)
38
 
39
  return model,tokenizer
40
 
 
32
  else:
33
  print("CUDA is not available. CPU will be used.")
34
 
35
+ model = AutoModelForCausalLM.from_pretrained(mistral_model)
36
 
37
+ tokenizer = AutoTokenizer.from_pretrained(mistral_model)
38
 
39
  return model,tokenizer
40