Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
satrio142 committed May 29, 2024
1 parent b019c06 commit 40c0d6d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ async def predict_image(img: UploadFile, response: Response):
return predicted_label, confidence

# Menentukan label
predicted_label = class_labels[predicted_class_index]

return {"result":predicted_label}
except Exception as e:
Expand Down

0 comments on commit 40c0d6d

Please sign in to comment.