Spaces:
Paused
Paused
Savestate: Fix syntax error in chat-view.js during FLUX implementation
Browse files- index.html +1 -1
- src/views/chat/chat-view.js +4 -7
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.203</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
|
@@ -74,8 +74,10 @@ function formatYoutubeSearch(query) {
|
|
| 74 |
});
|
| 75 |
}
|
| 76 |
|
| 77 |
-
|
| 78 |
-
|
|
|
|
|
|
|
| 79 |
}
|
| 80 |
|
| 81 |
function formatWorksheetInpainting(jsonStr) {
|
|
@@ -95,11 +97,6 @@ function formatWorksheetInpainting(jsonStr) {
|
|
| 95 |
</div>
|
| 96 |
`;
|
| 97 |
}
|
| 98 |
-
return `<div class="yt-embed-container yt-loading-placeholder" data-query="${encodeURIComponent(query)}" style="margin: 16px 0; padding: 32px 16px; background: rgba(255,255,255,0.05); border-radius: 8px; text-align: center; color: #888; display: flex; flex-direction: column; align-items: center; justify-content: center;">
|
| 99 |
-
<div style="width: 24px; height: 24px; border: 2px solid rgba(255,255,255,0.1); border-top-color: #007aff; border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 8px;"></div>
|
| 100 |
-
Suche Video: "${query}"...
|
| 101 |
-
</div>`;
|
| 102 |
-
}
|
| 103 |
|
| 104 |
document.addEventListener('youtube-search-resolved', () => {
|
| 105 |
document.querySelectorAll('.yt-loading-placeholder').forEach(el => {
|
|
|
|
| 74 |
});
|
| 75 |
}
|
| 76 |
|
| 77 |
+
return `<div class="yt-embed-container yt-loading-placeholder" data-query="${encodeURIComponent(query)}" style="margin: 16px 0; padding: 32px 16px; background: rgba(255,255,255,0.05); border-radius: 8px; text-align: center; color: #888; display: flex; flex-direction: column; align-items: center; justify-content: center;">
|
| 78 |
+
<div style="width: 24px; height: 24px; border: 2px solid rgba(255,255,255,0.1); border-top-color: #007aff; border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 8px;"></div>
|
| 79 |
+
Suche Video: "${query}"...
|
| 80 |
+
</div>`;
|
| 81 |
}
|
| 82 |
|
| 83 |
function formatWorksheetInpainting(jsonStr) {
|
|
|
|
| 97 |
</div>
|
| 98 |
`;
|
| 99 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 100 |
|
| 101 |
document.addEventListener('youtube-search-resolved', () => {
|
| 102 |
document.querySelectorAll('.yt-loading-placeholder').forEach(el => {
|