Skip to content

Commit

Permalink
Fix issue on search
Browse files Browse the repository at this point in the history
  • Loading branch information
toutjavascript committed May 10, 2024
1 parent 3c5e8df commit 4bfe8fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ The idea and initial work is inspired by @sngazm at https://github.com/lllyasvie


## Update log
1.5.6 Fix issue on search
- Close issue https://github.com/toutjavascript/Fooocus-Log-Viewer/discussions/21

1.5.5 Fix issue on row parsing log.html with .jpeg generated images
- Close issue https://github.com/toutjavascript/Fooocus-Log-Viewer/discussions/19#discussioncomment-9139711

Expand Down
4 changes: 2 additions & 2 deletions viewer.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<div id="app"></div>
<script type="text/babel">

var LOGVIEWER_RELEASE="1.5.5"
var LOGVIEWER_RELEASE="1.5.6"

$("span#logviewer-release").html("Release "+LOGVIEWER_RELEASE)

Expand Down Expand Up @@ -2147,7 +2147,7 @@
let img=images[i];
img.dt=dt;
/* Check if the image is generated with a prompt and not with input image */
if (data.Prompt) {
if (img.Prompt) {
allImages.push(img);
if (allModels.includes(img["Base Model"])==false) {
allModels.push(img["Base Model"]);
Expand Down

0 comments on commit 4bfe8fb

Please sign in to comment.