diff --git a/ui/noogle/src/components/ImageGeneration.vue b/ui/noogle/src/components/ImageGeneration.vue
index 8e7b7c5..5134d3b 100644
--- a/ui/noogle/src/components/ImageGeneration.vue
+++ b/ui/noogle/src/components/ImageGeneration.vue
@@ -30,6 +30,8 @@ let searching = false
let listener = false
+let hasmultipleinputs = false
+
function showDetails(user) {
this.$bvModal.show("modal-details");
this.modalData = user;
@@ -82,6 +84,14 @@ async function generate_image(message) {
["i", message, "text"]
]
+ hasmultipleinputs = false
+ if (urlinput.value !== "" && urlinput.value.startsWith('http')){
+ let imagetag = ["i", urlinput.value, "url"]
+ tags.push(imagetag)
+ hasmultipleinputs = true
+ console.log(urlinput.value)
+ }
+
let res;
@@ -161,8 +171,6 @@ async function listen() {
}
if (resonsetorequest === true) {
-
-
if (event.kind === 7000) {
@@ -211,9 +219,13 @@ async function listen() {
}
}
if (dvms.filter(i => i.id === jsonentry.id).length === 0) {
- dvms.push(jsonentry)
- }
+ if (!hasmultipleinputs ||
+ (hasmultipleinputs && jsonentry.id !== "04f74530a6ede6b24731b976b8e78fb449ea61f40ff10e3d869a3030c4edc91f")){
+ // DVM can not handle multiple inputs, straight up censorship until spec is fulfilled or requests are ignored.
+ dvms.push(jsonentry)
+ }
+ }
dvms.find(i => i.id === jsonentry.id).status = status
@@ -247,7 +259,7 @@ async function listen() {
}
-
+const urlinput = ref("");
function nextInput(e) {
const next = e.currentTarget.nextElementSibling;
@@ -334,6 +346,7 @@ defineProps({
import { ref } from "vue";
import ModalComponent from "../components/Newnote.vue";
+import VueDatePicker from "@vuepic/vue-datepicker";
const isModalOpened = ref(false);
const modalcontent = ref("");
@@ -372,7 +385,18 @@ const submitHandler = async () => {
+
+ Advanced Options
+
+
+
Url to existing image:
+
+
+
+
+
+