Skip to content

Commit

Permalink
no fun allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
delargement authored Sep 10, 2023
1 parent cd7cd25 commit 84d5557
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Binary file added frontend/static/images/chatbot.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed frontend/static/images/yuen.jpg
Binary file not shown.
2 changes: 1 addition & 1 deletion frontend/static/js/jquery.chatbot.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ $(document).ready(function() {
if (data.hasOwnProperty('response')) {
$('#chatlogs').append(`
<div class="d-flex flex-row justify-content-start mb-4" >
<img src=${yuen_src} width="85" height="85"></img>
<img src=${chatbot_src} width="85" height="85"></img>
<div class="p-3 ms-3 chatbot-response">
<p class="small mb-0">
${data['response']}
Expand Down
2 changes: 1 addition & 1 deletion frontend/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>

<!-- Custom javascript files -->
<script> let yuen_src = "{{ url_for('static', filename='images/yuen.jpg') }}" </script>
<script> let chatbot_src = "{{ url_for('static', filename='images/chatbot.jpg') }}" </script>
<script type="text/javascript" src="{{url_for('static', filename='js/jquery.chatbot.js')}}"></script>

<!-- Bootstrap JS Bundle with Popper -->
Expand Down

0 comments on commit 84d5557

Please sign in to comment.