Update templates/image_studio.html
Browse files
templates/image_studio.html
CHANGED
|
@@ -1795,7 +1795,7 @@
|
|
| 1795 |
const imgRes = await fetch(statusData.url);
|
| 1796 |
if(imgRes.ok) {
|
| 1797 |
const blob = await imgRes.blob();
|
| 1798 |
-
await saveToHistory(blob,
|
| 1799 |
}
|
| 1800 |
} catch(e) {
|
| 1801 |
console.error('Failed to save history', e);
|
|
|
|
| 1795 |
const imgRes = await fetch(statusData.url);
|
| 1796 |
if(imgRes.ok) {
|
| 1797 |
const blob = await imgRes.blob();
|
| 1798 |
+
await saveToHistory(blob, userPrompt, currentModelName, currentRatioName);
|
| 1799 |
}
|
| 1800 |
} catch(e) {
|
| 1801 |
console.error('Failed to save history', e);
|