Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
jph00 authored Apr 30, 2022
1 parent 0bcfe48 commit edbc5fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h1>Pet classifier</h1>
const json = await response.json();
prediction = json['data'][0]['confidences'][0];
var div = document.createElement('div');
div.innerHTML = `<img src="${reader.result}" width="300"> <p>${prediction['label']}</p>`
div.innerHTML = `<br/><img src="${reader.result}" width="300"> <p>${prediction['label']}</p>`
document.body.append(div);
}

Expand Down

0 comments on commit edbc5fa

Please sign in to comment.