iisadia commited on
Commit
6f0b56e
·
verified ·
1 Parent(s): 6577f0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -7,6 +7,7 @@ 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
  # Function to call Mistral API
11
  def call_mistral_api(prompt):
12
  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
+
11
  # Function to call Mistral API
12
  def call_mistral_api(prompt):
13
  url = "https://api.mistral.ai/v1/chat/completions"