Added loading svg, but it needs to by stylized and updated for better placement. Despite some changes to routes.py to improve the gpt4all efficiency, it is still 80-95 seconds before it generates a response. I might have to start generating responses in a DB on the first page load so that the UI/UX is faster.

This commit is contained in:
root
2023-12-02 03:35:06 +00:00
parent 7793dc88fa
commit 275d683044
16 changed files with 36 additions and 7 deletions

View File

@ -13,8 +13,13 @@
action="{{ url_for("prompt_all")}}"
method="post">
<input class="prompt-button"
id="fields" type="submit" value="Submit Prompt all Only">
id="fields" type="submit" value="Click for Inspiration"
onclick="$('#loading').show();">
</form>
<div id="loading" style="display:none;">
<img src={{ url_for('static', filename='tube-spinner.svg') }} width="200px">
Please be patient as we load up on inspiration!
</div>
</div>
</div>