Skip to content

Commit

Permalink
Update app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
satrio142 authored Dec 23, 2023
1 parent 3183676 commit ab5a621
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ async def predict_image(img: UploadFile, response: Response):
image = np.expand_dims(image, axis=0)

# Predict the class of the image
arr = model.predict(image)

arr = model.predict(image, batch_size=10)

# Mengambil indeks kelas dengan nilai probabilitas tertinggi
Expand Down

0 comments on commit ab5a621

Please sign in to comment.