Spaces:
Running
Running
Florian.Moret
commited on
Commit
·
1733602
1
Parent(s):
f2dd28e
changement de modele
Browse files
app.py
CHANGED
@@ -12,8 +12,8 @@ from sklearn.manifold import TSNE
|
|
12 |
from llama_index.core import VectorStoreIndex, SimpleDirectoryReader
|
13 |
from dotenv import load_dotenv
|
14 |
|
15 |
-
MISTRAL_API_KEY =
|
16 |
-
model = "ministral-8b-latest" # ancien model : 'mistral-large-latest'
|
17 |
mistral_client = Mistral(api_key=MISTRAL_API_KEY)
|
18 |
MAX_TOKENS = 1500
|
19 |
#endregion
|
|
|
12 |
from llama_index.core import VectorStoreIndex, SimpleDirectoryReader
|
13 |
from dotenv import load_dotenv
|
14 |
|
15 |
+
MISTRAL_API_KEY = os.getenv("api_mistral")
|
16 |
+
model = "mistral-large-latest" #"ministral-8b-latest" # ancien model : 'mistral-large-latest'
|
17 |
mistral_client = Mistral(api_key=MISTRAL_API_KEY)
|
18 |
MAX_TOKENS = 1500
|
19 |
#endregion
|