Spaces:
Running
Running
File size: 5,656 Bytes
037b08f 5a16375 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Create by Pejman</title>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css"
rel="stylesheet"
/>
<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>
</head>
<body
class="bg-gradient-to-br from-indigo-100 via-white to-blue-100 text-gray-800 font-sans"
>
<!-- Hero Section -->
<section
class="flex flex-col items-center justify-center min-h-screen text-center px-4"
>
<h1
class="text-4xl md:text-6xl font-bold text-indigo-800 mb-4 animate-pulse"
>
Welcome to Pejman's Educational Chatbot
</h1>
<p class="text-lg md:text-xl max-w-2xl text-gray-700 mb-6">
This chatbot is part of an educational practice in the
<strong>Deep Learning course</strong> at the
<strong>University of Liechtenstein</strong>.
</p>
<lottie-player
src="https://assets9.lottiefiles.com/packages/lf20_tno6cg2w.json"
background="transparent"
speed="1"
style="width: 300px; height: 300px"
loop
autoplay
>
</lottie-player>
</section>
<!-- Footer -->
<footer
class="bg-white shadow-md py-4 text-center border-t border-gray-200"
>
<p class="text-sm text-gray-600">
© 2025 Pejman Ebrahimi – All rights reserved.
</p>
</footer>
<!-- Chatbot Script -->
<script type="module">
import Chatbot from "https://cdn.jsdelivr.net/npm/flowise-embed/dist/web.js";
Chatbot.init({
chatflowid: "7e8a750a-c1be-48cc-9852-3243e1a8ccae",
apiHost: "https://arad1367-flowise-hosttest.hf.space",
chatflowConfig: {
/* Chatflow Config */
},
observersConfig: {
/* Observers Config */
},
theme: {
button: {
backgroundColor: "#3B81F6",
right: 20,
bottom: 20,
size: 48,
dragAndDrop: true,
iconColor: "white",
customIconSrc:
"https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/svg/google-messages.svg",
autoWindowOpen: {
autoOpen: true,
openDelay: 2,
autoOpenOnMobile: false,
},
},
tooltip: {
showTooltip: true,
tooltipMessage: "Hi There 👋!",
tooltipBackgroundColor: "black",
tooltipTextColor: "white",
tooltipFontSize: 16,
},
disclaimer: {
title: "Disclaimer",
message:
'By using this chatbot, you agree to the <a target="_blank" href="https://flowiseai.com/terms">Terms & Condition</a>',
textColor: "black",
buttonColor: "#3b82f6",
buttonText: "Start Chatting",
buttonTextColor: "white",
blurredBackgroundColor: "rgba(0, 0, 0, 0.4)",
backgroundColor: "white",
},
customCSS: ``,
chatWindow: {
showTitle: true,
showAgentMessages: true,
title: "Flowise Bot",
titleAvatarSrc:
"https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/svg/google-messages.svg",
welcomeMessage: "Hello! This is e-service to help you",
errorMessage: "We will back soon.",
backgroundColor: "#ffffff",
backgroundImage: "enter image path or link",
height: 550,
width: 400,
fontSize: 16,
starterPrompts: [
"What is ML projects?",
"Who ML tutorial can help me?",
],
starterPromptFontSize: 15,
clearChatOnReload: false,
sourceDocsTitle: "Sources:",
renderHTML: true,
botMessage: {
backgroundColor: "#f7f8ff",
textColor: "#303235",
showAvatar: true,
avatarSrc:
"https://raw.githubusercontent.com/zahidkhawaja/langchain-chat-nextjs/main/public/parroticon.png",
},
userMessage: {
backgroundColor: "#3B81F6",
textColor: "#ffffff",
showAvatar: true,
avatarSrc:
"https://raw.githubusercontent.com/zahidkhawaja/langchain-chat-nextjs/main/public/usericon.png",
},
textInput: {
placeholder: "Type your question",
backgroundColor: "#ffffff",
textColor: "#303235",
sendButtonColor: "#3B81F6",
maxChars: 50,
maxCharsWarningMessage:
"You exceeded the characters limit. Please input less than 50 characters.",
autoFocus: true,
sendMessageSound: true,
sendSoundLocation: "send_message.mp3",
receiveMessageSound: true,
receiveSoundLocation: "receive_message.mp3",
},
feedback: {
color: "#303235",
},
dateTimeToggle: {
date: true,
time: true,
},
footer: {
textColor: "#303235",
text: "Powered by",
company: "GilTech Megoldások KFT.",
companyLink: "https://giltech-megoldasok.com/",
},
},
},
});
</script>
</body>
</html>
|