Spaces:
Sleeping
Sleeping
Florian.Moret
commited on
Commit
·
1d1d204
1
Parent(s):
e66f9f2
app modifs prompt et cadre refs
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import streamlit as st
|
|
3 |
import os
|
4 |
from mistralai import Mistral
|
5 |
|
6 |
-
MISTRAL_API_KEY =
|
7 |
model = 'mistral-large-latest'
|
8 |
mistral_client = Mistral(api_key=MISTRAL_API_KEY)
|
9 |
MAX_TOKENS = 1500
|
|
|
3 |
import os
|
4 |
from mistralai import Mistral
|
5 |
|
6 |
+
MISTRAL_API_KEY = os.getenv("api_mistral")
|
7 |
model = 'mistral-large-latest'
|
8 |
mistral_client = Mistral(api_key=MISTRAL_API_KEY)
|
9 |
MAX_TOKENS = 1500
|