bearking58 commited on
Commit
6582396
·
1 Parent(s): fc749f2

fix: wrong send back url

Browse files
public-prediction/kafka_consumer.py CHANGED
@@ -40,7 +40,7 @@ def process_batch(batch: List[dict[str, any]], batch_size: int, gpt_helper: GetG
40
 
41
  def send_results_back(full_results: dict[str, any], job_application_id: str):
42
  print(f"Sending results back with job_app_id {job_application_id}")
43
- url = "https://ta-2-sistem-cerdas-be-vi2jkj4riq-et.a.run.app/api/anti-cheat/update"
44
  headers = {
45
  "Content-Type": "application/json",
46
  "x-api-key": os.environ.get("X-API-KEY")
 
40
 
41
  def send_results_back(full_results: dict[str, any], job_application_id: str):
42
  print(f"Sending results back with job_app_id {job_application_id}")
43
+ url = "https://ta-2-sistem-cerdas-be-vi2jkj4riq-et.a.run.app/api/anti-cheat/result"
44
  headers = {
45
  "Content-Type": "application/json",
46
  "x-api-key": os.environ.get("X-API-KEY")