drlau commited on
Commit
1446f02
·
verified ·
1 Parent(s): 910eba8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def ocr_with_pixtral(image):
18
  img_base64 = base64.b64encode(img_bytes).decode('utf-8')
19
 
20
  # Retrieve the API key from environment variables
21
- api_key = "8pfom5pvX6ZNtQ8IT80gQidMx0btzHAt"
22
 
23
  # Specify model
24
  model = "pixtral-12b-2409"
 
18
  img_base64 = base64.b64encode(img_bytes).decode('utf-8')
19
 
20
  # Retrieve the API key from environment variables
21
+ api_key = os.getenv('mistral_api_key')
22
 
23
  # Specify model
24
  model = "pixtral-12b-2409"