Hammad712 commited on
Commit
f447ffd
·
verified ·
1 Parent(s): 4d5aa96

Update services.py

Browse files
Files changed (1) hide show
  1. services.py +2 -2
services.py CHANGED
@@ -11,12 +11,12 @@ from utils import extract_json_from_output
11
  # Global GenAI client
12
  CLIENT = None
13
 
14
- def init_genai(api_key: str):
15
  """
16
  Initialize the global GenAI client with the provided API key.
17
  """
18
  global CLIENT
19
- CLIENT = get_genai_client(api_key)
20
 
21
 
22
  def parse_all_answers(image_input: Image.Image) -> str:
 
11
  # Global GenAI client
12
  CLIENT = None
13
 
14
+ def init_genai():
15
  """
16
  Initialize the global GenAI client with the provided API key.
17
  """
18
  global CLIENT
19
+ CLIENT = get_genai_client()
20
 
21
 
22
  def parse_all_answers(image_input: Image.Image) -> str: