Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from mistralai.models.chat_completion import ChatMessage
|
|
6 |
app = Flask(__name__)
|
7 |
|
8 |
# Ensure the environment variable for the API key is set
|
9 |
-
os.environ["MISTRAL_API_KEY"] = "
|
10 |
api_key = os.environ.get("MISTRAL_API_KEY")
|
11 |
if not api_key:
|
12 |
raise ValueError("MISTRAL_API_KEY environment variable not set")
|
|
|
6 |
app = Flask(__name__)
|
7 |
|
8 |
# Ensure the environment variable for the API key is set
|
9 |
+
os.environ["MISTRAL_API_KEY"] = "lDaHqhkfLJGCfG5oh941NpLohUtUhlWK"
|
10 |
api_key = os.environ.get("MISTRAL_API_KEY")
|
11 |
if not api_key:
|
12 |
raise ValueError("MISTRAL_API_KEY environment variable not set")
|