nsfwalex commited on
Commit
e79cf51
1 Parent(s): c0087df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -191,7 +191,7 @@ function uploadImage(prompt, images, event, source, value) {
191
  window.parent.postMessage(JSON.stringify(data), '*');
192
  } else if (isValidEnv()){
193
  try{
194
- sendCustomEventToDataLayer({},event,source,{"prompt": prompt, "image":imageUrl})
195
  } catch (error) {
196
  console.error("Error in sendCustomEventToDataLayer:", error);
197
  }
 
191
  window.parent.postMessage(JSON.stringify(data), '*');
192
  } else if (isValidEnv()){
193
  try{
194
+ sendCustomEventToDataLayer({},event,source,{"prompt": prompt, "image":imageUrl, "model": value})
195
  } catch (error) {
196
  console.error("Error in sendCustomEventToDataLayer:", error);
197
  }