diff --git a/src/webapp/routers/models.py b/src/webapp/routers/models.py index a17fbcfe..a63b055c 100644 --- a/src/webapp/routers/models.py +++ b/src/webapp/routers/models.py @@ -518,7 +518,8 @@ def trigger_inference_run( detail="Unexpected number of batches found: Expected 1, got " + str(len(inst_result)), ) - inst_file_schemas = [x.schemas for x in batch_result[0][0].files] + # inst_file_schemas = [x.schemas for x in batch_result[0][0].files] + inst_file_schemas = [list({s for f in batch_result[0][0].files for s in f.schemas})] raw_config = query_result[0][0].schema_configs # Inline legacy → new mapping directly on the string