Spaces:
Paused
Paused
Merge branch 'pre-release'
Browse files- README.md +5 -5
- client/css/conversation.css +10 -9
- client/css/message.css +1 -0
- client/js/chat.js +1 -1
README.md
CHANGED
|
@@ -18,11 +18,11 @@ Check out the project here: [FreeGPT WebUI - Chimera Version](https://github.com
|
|
| 18 |
|
| 19 |
## Project Hosting and Demonstration ๐๐
|
| 20 |
The project is hosted on multiple platforms to be tested and modified.
|
| 21 |
-
|Plataform|Status|Repo|Demo|
|
| 22 |
-
|
| 23 |
-
|[replit](https://replit.com/)|
|
| 24 |
-
|[hugging face](https://huggingface.co)|
|
| 25 |
-
|[replit](https://replit.com/)|
|
| 26 |
|
| 27 |
## Note โน๏ธ
|
| 28 |
<p>
|
|
|
|
| 18 |
|
| 19 |
## Project Hosting and Demonstration ๐๐
|
| 20 |
The project is hosted on multiple platforms to be tested and modified.
|
| 21 |
+
|Plataform|Status|API Key|Free|Repo|Demo|
|
| 22 |
+
|--|--|--|--|--|--|
|
| 23 |
+
|[replit](https://replit.com/)||โผ๏ธ|โ๏ธ|[FreeGPT WebUI](https://replit.com/@ramonvc/freegpt-webui)|[Chat](https://freegpt-webui.ramonvc.repl.co/chat/)
|
| 24 |
+
|[hugging face](https://huggingface.co)||โผ๏ธ|โ๏ธ|[FreeGPT WebUI](https://huggingface.co/spaces/monra/freegpt-webui/tree/main)|[Chat](https://huggingface.co/spaces/monra/freegpt-webui)
|
| 25 |
+
|[replit](https://replit.com/)||โ๏ธ|โ๏ธ|[FreeGPT WebUI - Chimera Version](https://replit.com/@ramonvc/freegpt-webui-chimera)|[Chat](https://freegpt-webui-chimera.ramonvc.repl.co/chat/)
|
| 26 |
|
| 27 |
## Note โน๏ธ
|
| 28 |
<p>
|
client/css/conversation.css
CHANGED
|
@@ -60,13 +60,21 @@
|
|
| 60 |
border: 1px solid var(--blur-border);
|
| 61 |
}
|
| 62 |
|
| 63 |
-
.input-box {
|
| 64 |
-
|
| 65 |
align-items: center;
|
| 66 |
padding: 8px;
|
| 67 |
cursor: pointer;
|
| 68 |
}
|
| 69 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
#cursor {
|
| 71 |
line-height: 17px;
|
| 72 |
margin-left: 3px;
|
|
@@ -119,13 +127,6 @@
|
|
| 119 |
border-radius: 10px;
|
| 120 |
}
|
| 121 |
|
| 122 |
-
@media screen and (max-width: 990px) {
|
| 123 |
-
.conversation {
|
| 124 |
-
width: 100%;
|
| 125 |
-
height: 90%;
|
| 126 |
-
}
|
| 127 |
-
}
|
| 128 |
-
|
| 129 |
@media screen and (max-height: 720px) {
|
| 130 |
.conversation.box {
|
| 131 |
height: 70%;
|
|
|
|
| 60 |
border: 1px solid var(--blur-border);
|
| 61 |
}
|
| 62 |
|
| 63 |
+
.box.input-box {
|
| 64 |
+
position: relative;
|
| 65 |
align-items: center;
|
| 66 |
padding: 8px;
|
| 67 |
cursor: pointer;
|
| 68 |
}
|
| 69 |
|
| 70 |
+
#send-button {
|
| 71 |
+
position: absolute;
|
| 72 |
+
bottom: 25%;
|
| 73 |
+
right: 10px;
|
| 74 |
+
z-index: 1;
|
| 75 |
+
padding: 16px;
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
#cursor {
|
| 79 |
line-height: 17px;
|
| 80 |
margin-left: 3px;
|
|
|
|
| 127 |
border-radius: 10px;
|
| 128 |
}
|
| 129 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 130 |
@media screen and (max-height: 720px) {
|
| 131 |
.conversation.box {
|
| 132 |
height: 70%;
|
client/css/message.css
CHANGED
|
@@ -28,6 +28,7 @@
|
|
| 28 |
.message .content {
|
| 29 |
display: flex;
|
| 30 |
flex-direction: column;
|
|
|
|
| 31 |
gap: 18px;
|
| 32 |
}
|
| 33 |
|
|
|
|
| 28 |
.message .content {
|
| 29 |
display: flex;
|
| 30 |
flex-direction: column;
|
| 31 |
+
width: 90%;
|
| 32 |
gap: 18px;
|
| 33 |
}
|
| 34 |
|
client/js/chat.js
CHANGED
|
@@ -56,7 +56,7 @@ const ask_gpt = async (message) => {
|
|
| 56 |
message_input.innerHTML = ``;
|
| 57 |
message_input.innerText = ``;
|
| 58 |
|
| 59 |
-
add_conversation(window.conversation_id, message.substr(0,
|
| 60 |
window.scrollTo(0, 0);
|
| 61 |
window.controller = new AbortController();
|
| 62 |
|
|
|
|
| 56 |
message_input.innerHTML = ``;
|
| 57 |
message_input.innerText = ``;
|
| 58 |
|
| 59 |
+
add_conversation(window.conversation_id, message.substr(0, 16));
|
| 60 |
window.scrollTo(0, 0);
|
| 61 |
window.controller = new AbortController();
|
| 62 |
|