Spaces:
Sleeping
Sleeping
Update services.py
Browse files- 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(
|
| 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:
|
|
|
|
| 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:
|