Skip to content

Commit

Permalink
Update image_query_classification.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jonafeucht committed Jun 12, 2024
1 parent 8855311 commit 8513221
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/api/image_query_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,10 @@ async def multi_image_query_classification(
# Read the file as bytes
image_list = []

classifier = check_model(model_name)

for model_name in model_names:
try:
classifier = check_model(model_name)

contents = await file.read()

labels_copy = labels.copy()
Expand Down

0 comments on commit 8513221

Please sign in to comment.