Spaces:
Running
Running
fix: show output after error
Browse files- index.html +1 -0
index.html
CHANGED
@@ -383,6 +383,7 @@
|
|
383 |
}
|
384 |
|
385 |
function applyTemplate() {
|
|
|
386 |
document.getElementById("error").style.display = "none";
|
387 |
const template = document.getElementById('template').value;
|
388 |
const addGenerationPrompt = document.getElementById('addGenerationPrompt').checked;
|
|
|
383 |
}
|
384 |
|
385 |
function applyTemplate() {
|
386 |
+
document.getElementById("output").style.display = "block";
|
387 |
document.getElementById("error").style.display = "none";
|
388 |
const template = document.getElementById('template').value;
|
389 |
const addGenerationPrompt = document.getElementById('addGenerationPrompt').checked;
|