MariaFilipkowska commited on
Commit
dcbe912
·
verified ·
1 Parent(s): eee6028

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -25,12 +25,12 @@ import os
25
  if "Mistral" not in os.environ:
26
  os.environ["Mistral"] = getpass.getpass("Enter your Mistral API key: ")
27
 
28
-
29
  print("Loading LLM...")
30
- print(f"Model {chat.model} downloaded!")
31
  chat = ChatMistralAI(
32
- model="mistral-large-latest", mistral_api_key=os.getenv["Mistral"]
33
  )
 
 
34
  # (Keep Constants as is)
35
  # --- Constants ---
36
  DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
 
25
  if "Mistral" not in os.environ:
26
  os.environ["Mistral"] = getpass.getpass("Enter your Mistral API key: ")
27
 
 
28
  print("Loading LLM...")
 
29
  chat = ChatMistralAI(
30
+ model="Pixtral-Large-Instruct", mistral_api_key=os.getenv["Mistral"]
31
  )
32
+ print(f"Model {chat.model} downloaded!")
33
+
34
  # (Keep Constants as is)
35
  # --- Constants ---
36
  DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"