Update app.py
Browse files
app.py
CHANGED
|
@@ -79,7 +79,7 @@ GOOGLE_MAPS_API_KEY = os.getenv('GOOGLE_MAPS_API_KEY')
|
|
| 79 |
|
| 80 |
SERVER_HF_TOKEN = os.getenv('HF_TOKEN', '')
|
| 81 |
|
| 82 |
-
model_id = "mistralai/
|
| 83 |
tokenizer = AutoTokenizer.from_pretrained(model_id, tokenizer_type="mistral", use_fast=False)
|
| 84 |
model = Mistral3ForConditionalGeneration.from_pretrained(
|
| 85 |
model_id, torch_dtype=torch.bfloat16, device_map="auto"
|
|
|
|
| 79 |
|
| 80 |
SERVER_HF_TOKEN = os.getenv('HF_TOKEN', '')
|
| 81 |
|
| 82 |
+
model_id = "mistralai/Magistral-Small-2509"
|
| 83 |
tokenizer = AutoTokenizer.from_pretrained(model_id, tokenizer_type="mistral", use_fast=False)
|
| 84 |
model = Mistral3ForConditionalGeneration.from_pretrained(
|
| 85 |
model_id, torch_dtype=torch.bfloat16, device_map="auto"
|