Spaces:
Running
Running
phyloforfun
commited on
Commit
•
c3bedaf
1
Parent(s):
142a372
Major update. Support for 15 LLMs, World Flora Online taxonomy validation, geolocation, 2 OCR methods, significant UI changes, stability improvements, consistent JSON parsing
Browse files
vouchervision/API_validation.py
CHANGED
@@ -282,8 +282,8 @@ class APIvalidation:
|
|
282 |
missing_keys.append('Google OCR')
|
283 |
|
284 |
# Mistral key check
|
285 |
-
if self.has_API_key():
|
286 |
-
is_valid = self.check_mistral_api_key(
|
287 |
if is_valid:
|
288 |
present_keys.append('Mistral (Valid)')
|
289 |
else:
|
|
|
282 |
missing_keys.append('Google OCR')
|
283 |
|
284 |
# Mistral key check
|
285 |
+
if self.has_API_key(k_mistral):
|
286 |
+
is_valid = self.check_mistral_api_key()
|
287 |
if is_valid:
|
288 |
present_keys.append('Mistral (Valid)')
|
289 |
else:
|