mirror of
https://github.com/Balshgit/gpt_chat_bot.git
synced 2025-12-18 02:30:39 +03:00
get gpt service from balshdocker (#16)
This commit is contained in:
@@ -9,18 +9,18 @@
|
||||
<meta property="og:image" content="https://openai.com/content/images/2022/11/ChatGPT.jpg">
|
||||
<meta property="og:description" content="A conversational AI system that listens, learns, and challenges">
|
||||
<meta property="og:url" content="https://chat.acy.dev">
|
||||
<link rel="stylesheet" href="/assets/css/style.css">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/assets/img/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/assets/img/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/assets/img/favicon-16x16.png">
|
||||
<link rel="manifest" href="/assets/img/site.webmanifest">
|
||||
<script src="/assets/js/icons.js"></script>
|
||||
<script src="/assets/js/chat.js" defer></script>
|
||||
<link rel="stylesheet" href="{{chat_path}}/assets/css/style.css">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="{{chat_path}}/assets/img/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="{{chat_path}}/assets/img/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="{{chat_path}}/assets/img/favicon-16x16.png">
|
||||
<link rel="manifest" href="{{chat_path}}/assets/img/site.webmanifest">
|
||||
<script src="{{chat_path}}/assets/js/icons.js"></script>
|
||||
<script src="{{chat_path}}/assets/js/chat.js" defer></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/markdown-it@latest/dist/markdown-it.min.js"></script>
|
||||
<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@latest/build/styles/base16/dracula.min.css">
|
||||
<script>
|
||||
const user_image = `<img src="/assets/img/user.png" alt="User Avatar">`;
|
||||
const gpt_image = `<img src="/assets/img/gpt.png" alt="GPT Avatar">`;
|
||||
const user_image = `<img src="{{chat_path}}/assets/img/user.png" alt="User Avatar">`;
|
||||
const gpt_image = `<img src="{{chat_path}}/assets/img/gpt.png" alt="GPT Avatar">`;
|
||||
</script>
|
||||
<style>
|
||||
.hljs {
|
||||
@@ -42,21 +42,21 @@
|
||||
|
||||
/* Track */
|
||||
#message-input::-webkit-scrollbar-track {
|
||||
background: #f1f1f1;
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
|
||||
/* Handle */
|
||||
#message-input::-webkit-scrollbar-thumb {
|
||||
background: #c7a2ff;
|
||||
background: #c7a2ff;
|
||||
}
|
||||
|
||||
/* Handle on hover */
|
||||
#message-input::-webkit-scrollbar-thumb:hover {
|
||||
background: #8b3dff;
|
||||
background: #8b3dff;
|
||||
}
|
||||
</style>
|
||||
<script src="/assets/js/highlight.min.js"></script>
|
||||
<script src="/assets/js/highlightjs-copy.min.js"></script>
|
||||
<script src="{{chat_path}}/assets/js/highlight.min.js"></script>
|
||||
<script src="{{chat_path}}/assets/js/highlightjs-copy.min.js"></script>
|
||||
<script>window.conversation_id = {{chat_id}} </script>
|
||||
<title>ChatGPT</title>
|
||||
</head>
|
||||
@@ -79,8 +79,8 @@
|
||||
<div class="info">
|
||||
<i class="fa-regular fa-circle-info"></i>
|
||||
<span class="convo-title">By: Balsh<br>
|
||||
Version: 0.0.6 <br>
|
||||
Release: 2023-09-06<br>
|
||||
Version: 0.0.7 <br>
|
||||
Release: 2023-09-28<br>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
"short_name": "",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/assets/img/android-chrome-192x192.png",
|
||||
"src": "{{chat_path}}/assets/img/android-chrome-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "/assets/img/android-chrome-512x512.png",
|
||||
"src": "{{chat_path}}/assets/img/android-chrome-512x512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}
|
||||
|
||||
@@ -478,7 +478,7 @@ window.onload = async () => {
|
||||
}, 1);
|
||||
|
||||
if (!window.location.href.endsWith(`#`)) {
|
||||
if (/\{{chat_path}}\/.+/.test(window.location.href)) {
|
||||
if (/{{chat_path}}\/.+/.test(window.location.href)) {
|
||||
await load_conversation(window.conversation_id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user