Download templates/bannner.html from Dixith/XLT-AI: direct link, hf CLI and curl.
- Browser
- Download file 2.42 kB
-
https://huggingface.co/spaces/Dixith/XLT-AI/resolve/main/templates/bannner.html
- Command line
-
hf download hf://spaces/Dixith/XLT-AI/templates/bannner.html
-
curl -L -o bannner.html https://huggingface.co/spaces/Dixith/XLT-AI/resolve/main/templates/bannner.html
2.42 kB
| <html lang="en" dir="ltr"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Chat AI</title> | |
| <link rel="stylesheet" href="static/style.css"> <!-- Include external CSS file --> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0" /> | |
| <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@48,400,1,0" /> | |
| <script src="{{ url_for('static', filename='js/script.js') }}" defer></script> <!-- Include external JavaScript file --> | |
| <style> | |
| /* Other styles remain unchanged */ | |
| .chatbot-icon { | |
| width: 40px; /* Adjust the width as needed */ | |
| height: 40px; /* Adjust the height as needed */ | |
| border-radius: 50%; /* Make the image circular */ | |
| object-fit: cover; /* Ensure the image fills the circular container */ | |
| margin-right: 10px; /* Add some spacing between the icon and the message */ | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <button class="chatbot-toggler"> | |
| <span class="material-symbols-rounded">mode_comment</span> | |
| <span class="material-symbols-outlined">close</span> | |
| </button> | |
| <div class="chatbot"> | |
| <header> | |
| <img src="static/images/test.png" alt="Chatbot Icon" class="header-img" style="width: 320px; height: fit-content; margin-right: 30px; margin-left: 22px; margin-top: 40px;"> | |
| <span class="close-btn material-symbols-outlined">close</span> | |
| </header> | |
| <ul class="chatbox"> | |
| <li class="chat incoming"> | |
| <!-- Replace the span with an img tag and add a class for styling --> | |
| <img src="static/images/icon.jpg" alt="Chatbot Icon" class="chatbot-icon"> | |
| <p>Hello, welcome to XLT, the premier luxury transportation service in South Florida. How can I help you today ?</p> | |
| <!-- Additional chat messages can be added here --> | |
| </ul> | |
| <div class="chat-input"> | |
| <textarea placeholder="Enter a message..." spellcheck="false" required></textarea> | |
| <button id="microphone-btn" class="material-symbols-rounded">mic</button> | |
| <span id="send-btn" class="material-symbols-rounded">send</span> | |
| </div> | |
| </div> | |
| <script src="static/js/script.js"></script> <!-- Include inline JavaScript --> | |
| </body> | |
| </html> |