diff --git a/senju/ai_gen.py b/senju/ai_gen.py
index 3909b7f..2b3294c 100644
--- a/senju/ai_gen.py
+++ b/senju/ai_gen.py
@@ -13,6 +13,7 @@ Haiku (俳句) is a type of short form poetry that originated in Japan. Traditio
phrases composed of 17 morae (called on in Japanese) in a 5, 7, 5 pattern that include a kireji,
or "cutting word" and a kigo, or seasonal reference.
+The poem must contain the subjects of the user input.
You must return only the poem and nothing else.
You must return the poem in a json format in the following format:
{
diff --git a/senju/templates/prompt.html b/senju/templates/prompt.html
index ec0cf93..699dfd3 100644
--- a/senju/templates/prompt.html
+++ b/senju/templates/prompt.html
@@ -62,7 +62,7 @@ document.getElementById("submit-btn").addEventListener("click", function() {
console.log(data);
//responseText.innerHTML = data[0] + "
" + data[1] + "
" + data[2];
let id = parseInt(data, 10);
- window.location.replace("/haiku/"+id);
+ window.location.href = "/haiku/"+id;
})
.catch(error => {
document.getElementById('result').innerHTML = 'Error: ' + error.message;