Update app.py
Browse files
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 |
}
|