Spaces:
Paused
Paused
Savestate: Fix bug where processWorksheetInpainting would fail if the image was not in the most recent user message
Browse files- index.html +1 -1
- src/views/chat/chat-view.js +2 -2
index.html
CHANGED
|
@@ -65,7 +65,7 @@
|
|
| 65 |
</head>
|
| 66 |
<body class="dark-theme in-chat-view">
|
| 67 |
|
| 68 |
-
<div id="live-version-badge" style="position: fixed; top: 50px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--text-secondary); opacity: 0.6; z-index: 99999; pointer-events: none; font-weight: 500; font-family: monospace; letter-spacing: 1px; background: rgba(0,0,0,0.2); padding: 2px 8px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.05);">BUILD 1.8.
|
| 69 |
|
| 70 |
<!-- SVG Filters for Liquid Glass Refraction -->
|
| 71 |
<svg width="0" height="0" style="position: absolute; pointer-events: none;">
|
|
|
|
| 65 |
</head>
|
| 66 |
<body class="dark-theme in-chat-view">
|
| 67 |
|
| 68 |
+
<div id="live-version-badge" style="position: fixed; top: 50px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--text-secondary); opacity: 0.6; z-index: 99999; pointer-events: none; font-weight: 500; font-family: monospace; letter-spacing: 1px; background: rgba(0,0,0,0.2); padding: 2px 8px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.05);">BUILD 1.8.204</div>
|
| 69 |
|
| 70 |
<!-- SVG Filters for Liquid Glass Refraction -->
|
| 71 |
<svg width="0" height="0" style="position: absolute; pointer-events: none;">
|
src/views/chat/chat-view.js
CHANGED
|
@@ -4382,8 +4382,8 @@ body { margin: 0; padding: 0; background: #000; overflow: hidden; display: flex;
|
|
| 4382 |
const match = msgs[i].content.match(/data:image\/[^;]+;base64,[^)]+/);
|
| 4383 |
if (match) {
|
| 4384 |
lastUserBase64 = match[0].includes('base64,') ? match[0].split('base64,')[1] : match[0];
|
|
|
|
| 4385 |
}
|
| 4386 |
-
break;
|
| 4387 |
}
|
| 4388 |
}
|
| 4389 |
|
|
@@ -4476,8 +4476,8 @@ body { margin: 0; padding: 0; background: #000; overflow: hidden; display: flex;
|
|
| 4476 |
const match = msgs[i].content.match(/data:image\/[^;]+;base64,[^)]+/);
|
| 4477 |
if (match) {
|
| 4478 |
lastUserBase64 = match[0].includes('base64,') ? match[0].split('base64,')[1] : match[0];
|
|
|
|
| 4479 |
}
|
| 4480 |
-
break;
|
| 4481 |
}
|
| 4482 |
}
|
| 4483 |
|
|
|
|
| 4382 |
const match = msgs[i].content.match(/data:image\/[^;]+;base64,[^)]+/);
|
| 4383 |
if (match) {
|
| 4384 |
lastUserBase64 = match[0].includes('base64,') ? match[0].split('base64,')[1] : match[0];
|
| 4385 |
+
break;
|
| 4386 |
}
|
|
|
|
| 4387 |
}
|
| 4388 |
}
|
| 4389 |
|
|
|
|
| 4476 |
const match = msgs[i].content.match(/data:image\/[^;]+;base64,[^)]+/);
|
| 4477 |
if (match) {
|
| 4478 |
lastUserBase64 = match[0].includes('base64,') ? match[0].split('base64,')[1] : match[0];
|
| 4479 |
+
break;
|
| 4480 |
}
|
|
|
|
| 4481 |
}
|
| 4482 |
}
|
| 4483 |
|