aliabozahra315 commited on
Commit
e8ba9e0
·
verified ·
1 Parent(s): 621e232

Update tools/ocr__units_service.py

Browse files
Files changed (1) hide show
  1. tools/ocr__units_service.py +1 -0
tools/ocr__units_service.py CHANGED
@@ -4,6 +4,7 @@ import os
4
 
5
  client = Mistral(api_key=os.environ["MISTRAL_API_KEY"])
6
 
 
7
 
8
  def extract_text_from_pdf(pdf_path: str) -> str:
9
  with open(pdf_path, "rb") as f:
 
4
 
5
  client = Mistral(api_key=os.environ["MISTRAL_API_KEY"])
6
 
7
+ print("MISTRAL_API_KEY =", os.getenv("MISTRAL_API_KEY"))
8
 
9
  def extract_text_from_pdf(pdf_path: str) -> str:
10
  with open(pdf_path, "rb") as f: