finhdev commited on
Commit
048809c
·
verified ·
1 Parent(s): 2f51b26

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -22,7 +22,7 @@ class EndpointHandler:
22
  # --- OPTIMIZATION: Pre-compute text features from your JSON ---
23
 
24
  # 2. Load your rich class definitions from the file
25
- with open(f"{path}/classes.json", "r", encoding="utf-8") as f:
26
  class_definitions = json.load(f)
27
 
28
  # 3. Prepare the data for encoding and for the final response
 
22
  # --- OPTIMIZATION: Pre-compute text features from your JSON ---
23
 
24
  # 2. Load your rich class definitions from the file
25
+ with open(f"{path}/items.json", "r", encoding="utf-8") as f:
26
  class_definitions = json.load(f)
27
 
28
  # 3. Prepare the data for encoding and for the final response