Spaces:
Running
on
A100
Running
on
A100
re-enable start button after failed
Browse files- img2img/index.html +1 -0
- txt2img/index.html +5 -2
img2img/index.html
CHANGED
@@ -141,6 +141,7 @@
|
|
141 |
} catch (err) {
|
142 |
console.log(err);
|
143 |
toggleMessage("error")
|
|
|
144 |
}
|
145 |
});
|
146 |
stopBtn.addEventListener("click", () => {
|
|
|
141 |
} catch (err) {
|
142 |
console.log(err);
|
143 |
toggleMessage("error")
|
144 |
+
startBtn.disabled = false;
|
145 |
}
|
146 |
});
|
147 |
stopBtn.addEventListener("click", () => {
|
txt2img/index.html
CHANGED
@@ -121,6 +121,7 @@
|
|
121 |
} catch (err) {
|
122 |
console.log(err);
|
123 |
toggleMessage("error")
|
|
|
124 |
}
|
125 |
});
|
126 |
stopBtn.addEventListener("click", () => {
|
@@ -162,14 +163,16 @@
|
|
162 |
There are <span id="queue_size" class="font-bold">0</span> user(s) sharing the same GPU, affecting
|
163 |
real-time performance. Maximum queue size is 10. <a
|
164 |
href="https://huggingface.co/spaces/radames/Real-Time-Latent-Consistency-Model?duplicate=true"
|
165 |
-
target="_blank" class="text-blue-500 underline hover:no-underline">Duplicate</a> and run it on your
|
|
|
166 |
</p>
|
167 |
</article>
|
168 |
<div>
|
169 |
<h2 class="font-medium">Prompt</h2>
|
170 |
<p class="text-sm text-gray-500">
|
171 |
Start your session and type your prompt here, accepts
|
172 |
-
<a href="https://github.com/damian0815/compel/blob/main/doc/syntax.md" target="_blank"
|
|
|
173 |
</p>
|
174 |
<div class="flex text-normal px-1 py-1 border border-gray-700 rounded-md items-center">
|
175 |
<textarea type="text" id="prompt" class="font-light w-full px-3 py-2 mx-1 outline-none"
|
|
|
121 |
} catch (err) {
|
122 |
console.log(err);
|
123 |
toggleMessage("error")
|
124 |
+
startBtn.disabled = false;
|
125 |
}
|
126 |
});
|
127 |
stopBtn.addEventListener("click", () => {
|
|
|
163 |
There are <span id="queue_size" class="font-bold">0</span> user(s) sharing the same GPU, affecting
|
164 |
real-time performance. Maximum queue size is 10. <a
|
165 |
href="https://huggingface.co/spaces/radames/Real-Time-Latent-Consistency-Model?duplicate=true"
|
166 |
+
target="_blank" class="text-blue-500 underline hover:no-underline">Duplicate</a> and run it on your
|
167 |
+
own GPU.
|
168 |
</p>
|
169 |
</article>
|
170 |
<div>
|
171 |
<h2 class="font-medium">Prompt</h2>
|
172 |
<p class="text-sm text-gray-500">
|
173 |
Start your session and type your prompt here, accepts
|
174 |
+
<a href="https://github.com/damian0815/compel/blob/main/doc/syntax.md" target="_blank"
|
175 |
+
class="text-blue-500 underline hover:no-underline">Compel</a> syntax.
|
176 |
</p>
|
177 |
<div class="flex text-normal px-1 py-1 border border-gray-700 rounded-md items-center">
|
178 |
<textarea type="text" id="prompt" class="font-light w-full px-3 py-2 mx-1 outline-none"
|