Hii, I am trying to run my rasa project on web but the chatroom.js file can’t run
chat.html
{% extends ‘base_template/base_template.html’%} {%load static%} {%block title%} Healthcare Chatbot {%endblock%} {%block heading%}
{%endblock%} {%block content%}
Health Assistant
</div>
var chatroom = new window.Chatroom({
host: "http://localhost:5005",
title: "Health Assistant",
container: document.querySelector(".chat-container"),
welcomeMessage: "Hi welcome to healthcare. I'm new Health assistant. How can i Help you?",
speechRecognition: "en-US",
{%endblock%} });
chatroom.openChat();
</script>
<a href="{% url 'chat_shutDown' %}">Click Here!<br>If Health Assistant is not working</a>