Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,6 @@ import os
|
|
7 |
# Mistral API key (replace with your key or use environment variable)
|
8 |
api_key = os.getenv("MISTRAL_API_KEY", "gz6lDXokxgR6cLY72oomALWcm7vhjRzQ")
|
9 |
|
10 |
-
|
11 |
# Function to call Mistral API
|
12 |
def call_mistral_api(prompt):
|
13 |
url = "https://api.mistral.ai/v1/chat/completions"
|
|
|
7 |
# Mistral API key (replace with your key or use environment variable)
|
8 |
api_key = os.getenv("MISTRAL_API_KEY", "gz6lDXokxgR6cLY72oomALWcm7vhjRzQ")
|
9 |
|
|
|
10 |
# Function to call Mistral API
|
11 |
def call_mistral_api(prompt):
|
12 |
url = "https://api.mistral.ai/v1/chat/completions"
|