Opera8 commited on
Commit
417d635
·
verified ·
1 Parent(s): ad52533

Update templates/image_studio.html

Browse files
Files changed (1) hide show
  1. templates/image_studio.html +1 -1
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, finalPrompt, currentModelName, currentRatioName);
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);