Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def mistral_model():
|
|
34 |
print("CUDA is not available. CPU will be used.")
|
35 |
|
36 |
tokenizer = AutoTokenizer.from_pretrained("mistralai/Mistral-7B-Instruct-v0.2")
|
37 |
-
model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.2
|
38 |
|
39 |
return model,tokenizer
|
40 |
|
|
|
34 |
print("CUDA is not available. CPU will be used.")
|
35 |
|
36 |
tokenizer = AutoTokenizer.from_pretrained("mistralai/Mistral-7B-Instruct-v0.2")
|
37 |
+
model = AutoModelForCausalLM.from_pretrained("mistralai/Mistral-7B-Instruct-v0.2")
|
38 |
|
39 |
return model,tokenizer
|
40 |
|